Update pkg/kube/wait.go

Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Itai Spiegel <itai.spiegel@gmail.com>
pull/30534/head
Itai Spiegel 5 months ago committed by GitHub
parent 8c14f05066
commit f04e5d4195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -87,7 +87,7 @@ func (w *waiter) isRetryableError(err error, resource *resource.Info) bool {
w.log("Error received when checking status of resource %s. Error: '%s', Resource details: '%s'", resource.Name, err, resource) w.log("Error received when checking status of resource %s. Error: '%s', Resource details: '%s'", resource.Name, err, resource)
for _, terminalError := range terminalErrors { for _, terminalError := range terminalErrors {
if errors.Is(err, terminalError) { if errors.Is(err, terminalError) {
w.log("Retryable error? %t", false) w.log("Terminal error: %w" err)
return false return false
} }
} }

Loading…
Cancel
Save