diff --git a/pkg/wait/wait_for_ready.go b/pkg/wait/wait_for_ready.go index 7baf6b2e64..f4c41700f8 100644 --- a/pkg/wait/wait_for_ready.go +++ b/pkg/wait/wait_for_ready.go @@ -81,7 +81,7 @@ func (w *waitForReadyConfig) Wait(name string, timeout time.Duration, out io.Wri } floatingTimeout = floatingTimeout - time.Since(start) if timeoutReached || floatingTimeout < 0 { - return fmt.Errorf("timeout: %s '%s' not ready after %d seconds", w.kind, name, timeout) + return fmt.Errorf("timeout: %s '%s' not ready after %d seconds", w.kind, name, int(timeout/time.Second)) } if retry {