Skip to content

Commit

Permalink
skip error when getting external status checks (requires full api acc…
Browse files Browse the repository at this point in the history
…ess)

Signed-off-by: Raghav Kaul <[email protected]>
  • Loading branch information
raghavkaul committed Apr 4, 2023
1 parent a6b4e72 commit 7e0af93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clients/gitlabrepo/branches.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ func (handler *branchesHandler) setup() error {
handler.repourl.project, &gitlab.ListOptions{})
if err != nil && resp.StatusCode != 404 {
handler.errSetup = fmt.Errorf("request for external status checks failed with error %w", err)
return
}

projectApprovalRule, resp, err := handler.glClient.Projects.GetApprovalConfiguration(handler.repourl.project)
Expand Down

0 comments on commit 7e0af93

Please sign in to comment.