mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
e2e: fix format-string for error message
Argument was omitted
This commit is contained in:
parent
c8e5e89491
commit
051ff6aa35
@ -1735,7 +1735,7 @@ func (j *ServiceTestJig) waitForPodsCreated(namespace string, replicas int) ([]s
|
||||
func (j *ServiceTestJig) waitForPodsReady(namespace string, pods []string) error {
|
||||
timeout := 2 * time.Minute
|
||||
if !checkPodsRunningReady(j.Client, namespace, pods, timeout) {
|
||||
return fmt.Errorf("Timeout waiting for %d pods to be ready")
|
||||
return fmt.Errorf("Timeout waiting for %d pods to be ready", len(pods))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user