Skip to content

Commit

Permalink
export trigger id member
Browse files Browse the repository at this point in the history
Signed-off-by: Andrés MANELLI <[email protected]>
  • Loading branch information
andresmanelli committed Jun 6, 2024
1 parent 7fd71a5 commit 3fe8d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/services/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type RunService struct {
}

type triggerRunResponse struct {
triggerID int `json:"triggerID"`
TriggerID int `json:"triggerID"`
}

func NewRunService(client *jfroghttpclient.JfrogHttpClient) *RunService {
Expand Down Expand Up @@ -122,7 +122,7 @@ func (rs *RunService) TriggerPipelineRun(branch, pipeline string, isMultiBranch
return 0, err
}

return triggerID.triggerID, nil
return triggerID.TriggerID, nil
}

func (rs *RunService) CancelRun(runID int) error {
Expand Down

0 comments on commit 3fe8d4d

Please sign in to comment.