e2e: fix format-string for error message

Argument was omitted
This commit is contained in:
Justin Santa Barbara 2016-02-06 09:15:55 -05:00
parent c8e5e89491
commit 051ff6aa35

View File

@ -1735,7 +1735,7 @@ func (j *ServiceTestJig) waitForPodsCreated(namespace string, replicas int) ([]s
func (j *ServiceTestJig) waitForPodsReady(namespace string, pods []string) error { func (j *ServiceTestJig) waitForPodsReady(namespace string, pods []string) error {
timeout := 2 * time.Minute timeout := 2 * time.Minute
if !checkPodsRunningReady(j.Client, namespace, pods, timeout) { 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 return nil
} }