Merge pull request #3061 from jlowdermilk/rollingupdate

Add a rollingupdate lib and command to kubectl
This commit is contained in:
bgrant0607
2015-01-07 10:33:39 -08:00
8 changed files with 576 additions and 5 deletions

View File

@@ -251,7 +251,7 @@ func runReplicationControllerTest(c *client.Client) {
glog.Infof("Done creating replication controllers")
// Give the controllers some time to actually create the pods
if err := wait.Poll(time.Second, time.Second*30, c.ControllerHasDesiredReplicas(controller)); err != nil {
if err := wait.Poll(time.Second, time.Second*30, client.ControllerHasDesiredReplicas(c, &controller)); err != nil {
glog.Fatalf("FAILED: pods never created %v", err)
}