From 7e0af93b6f46533a3334e1d291d6b9a8aef0b0f9 Mon Sep 17 00:00:00 2001 From: Raghav Kaul Date: Tue, 4 Apr 2023 20:48:53 +0000 Subject: [PATCH] skip error when getting external status checks (requires full api access) Signed-off-by: Raghav Kaul --- clients/gitlabrepo/branches.go | 1 - 1 file changed, 1 deletion(-) diff --git a/clients/gitlabrepo/branches.go b/clients/gitlabrepo/branches.go index 79aeaafbb2a..b4ca8dc1c28 100644 --- a/clients/gitlabrepo/branches.go +++ b/clients/gitlabrepo/branches.go @@ -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)