From 70c97ce2edf6060103bfcc317d91addedd450c34 Mon Sep 17 00:00:00 2001 From: Nick Kubala Date: Mon, 19 Aug 2019 15:31:45 -0700 Subject: [PATCH] more specific error message matching --- pkg/skaffold/build/gcb/cloud_build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/skaffold/build/gcb/cloud_build.go b/pkg/skaffold/build/gcb/cloud_build.go index cb9e17e9a72..0bb7262db4e 100644 --- a/pkg/skaffold/build/gcb/cloud_build.go +++ b/pkg/skaffold/build/gcb/cloud_build.go @@ -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 }