Skip to content

Commit

Permalink
Fix GetPendingInputActions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspeitz committed Aug 26, 2018
1 parent ddda3b6 commit 60cb343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (job *Job) GetPipelineRun(id string) (pr *PipelineRun, err error) {
func (pr *PipelineRun) GetPendingInputActions() (PIAs []PipelineInputAction, err error) {
PIAs = make([]PipelineInputAction, 0, 1)
href := pr.Base + "/wfapi/pendingInputActions"
_, err = pr.Job.Jenkins.Requester.GetJSON(href, PIAs, nil)
_, err = pr.Job.Jenkins.Requester.GetJSON(href, &PIAs, nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 60cb343

Please sign in to comment.