Skip to content

Commit

Permalink
more specific error message matching
Browse files Browse the repository at this point in the history
  • Loading branch information
nkubala committed Aug 19, 2019
1 parent 093709c commit 70c97ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skaffold/build/gcb/cloud_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ watch:
if err == nil {
return true, nil
}
if strings.Contains(err.Error(), "Quota exceeded") {
if strings.Contains(err.Error(), "Error 429: Quota exceeded for quota metric 'cloudbuild.googleapis.com/get_requests'") {
// if we hit the rate limit, continue to retry
return false, nil
}
Expand Down

0 comments on commit 70c97ce

Please sign in to comment.