diff --git a/hack/tools.go b/hack/tools.go index 7a21725c..c37ff9d4 100644 --- a/hack/tools.go +++ b/hack/tools.go @@ -1,3 +1,4 @@ +//go:build tools // +build tools // This package imports things required by build scripts, to force `go mod` to see them as dependencies diff --git a/pkg/apis/workerpodautoscaler/v1/zz_generated.deepcopy.go b/pkg/apis/workerpodautoscaler/v1/zz_generated.deepcopy.go index 1f6bf6f8..6824df82 100644 --- a/pkg/apis/workerpodautoscaler/v1/zz_generated.deepcopy.go +++ b/pkg/apis/workerpodautoscaler/v1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/pkg/queue/sqs.go b/pkg/queue/sqs.go index 1bcd2819..91c6a647 100644 --- a/pkg/queue/sqs.go +++ b/pkg/queue/sqs.go @@ -415,7 +415,8 @@ func (s *SQS) poll(key string, queueSpec QueueSpec) { if err != nil { aerr, ok := err.(awserr.Error) if ok && aerr.Code() == sqs.ErrCodeQueueDoesNotExist { - klog.Errorf("Unable to find queue %q, %v.", queueSpec.name, err) + klog.Errorf("Unable to find queue %q, %v. (checking after 20s)", queueSpec.name, err) + time.Sleep(20 * time.Second) return } else if ok && aerr.Code() == "RequestError" { klog.Errorf("Unable to perform request get approximate messages %q, %v.",