You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/pkg/validation/project.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ func ValidateProject(ctx context.Context, p *print.Printer, cliVersion string, c
35
35
// Check for specific HTTP status codes
36
36
ifhttpErr, ok:=err.(*oapierror.GenericOpenAPIError); ok { //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
37
37
switchhttpErr.StatusCode {
38
-
casehttp.StatusNotFound, http.StatusForbidden:
38
+
casehttp.StatusForbidden:
39
39
// Try to get project name for better error message
0 commit comments