Add a log to help debug #31981

This commit is contained in:
gmarek
2016-09-05 14:28:12 +02:00
parent ab0b937c2e
commit a82e54262d
2 changed files with 3 additions and 1 deletions

View File

@@ -3367,7 +3367,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
if rc.Spec.Replicas < 5000 {
timeout = 10 * time.Minute
} else {
timeout = time.Duration(rc.Spec.Replicas / gcThroughput) * time.Second
timeout = time.Duration(rc.Spec.Replicas/gcThroughput) * time.Second
}
err = waitForPodsInactive(ps, interval, timeout)
if err != nil {