There was an error while loading. Please reload this page.
1 parent bc5ef7a commit 652dc71Copy full SHA for 652dc71
pgo/api/common.go
@@ -28,7 +28,7 @@ func StatusCheck(resp *http.Response) error {
28
if resp.StatusCode == 401 {
29
return fmt.Errorf("Authentication Failed: %d\n", resp.StatusCode)
30
} else if resp.StatusCode == 405 {
31
-return fmt.Errorf("Method %s for URL %s is not allowed in current the Operator "+
+return fmt.Errorf("Method %s for URL %s is not allowed in the current Operator "+
32
"install: %d", resp.Request.Method, resp.Request.URL.Path, resp.StatusCode)
33
} else if resp.StatusCode != 200 {
34
return fmt.Errorf("Invalid Status Code: %d\n", resp.StatusCode)
0 commit comments