Skip to content

Commit

Permalink
fix: correct gitlab call
Browse files Browse the repository at this point in the history
  • Loading branch information
ashearin committed Dec 12, 2023
1 parent 6e07e2a commit c9f20f6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clients/gitlabrepo/checkruns.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ func (handler *checkrunsHandler) listCheckRunsForRef(ref string) ([]clients.Chec
}

pipelines, _, err := handler.glClient.Pipelines.ListProjectPipelines(
handler.repourl.projectID, &gitlab.ListProjectPipelinesOptions{
SHA: &ref,
ListOptions: gitlab.ListOptions{},
})
handler.repourl.projectID, &options)
if err != nil {
return nil, fmt.Errorf("request for pipelines returned error: %w", err)
}
Expand Down

0 comments on commit c9f20f6

Please sign in to comment.