From 849a8df35d428a0168d92177fdd389727cf107da Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Fri, 5 Aug 2016 16:17:01 +0800
Subject: [PATCH] make correction to two variables in inverse order
---
pkg/kubectl/rolling_updater.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/kubectl/rolling_updater.go b/pkg/kubectl/rolling_updater.go
index be045fa7389..4468530891d 100644
--- a/pkg/kubectl/rolling_updater.go
+++ b/pkg/kubectl/rolling_updater.go
@@ -520,7 +520,7 @@ func (r *RollingUpdater) cleanupWithClients(oldRc, newRc *api.ReplicationControl
if err := r.c.ReplicationControllers(r.ns).Delete(oldRc.Name, nil); err != nil {
return err
}
- fmt.Fprintf(config.Out, "Renaming %s to %s\n", newRc.Name, oldRc.Name)
+ fmt.Fprintf(config.Out, "Renaming %s to %s\n", oldRc.Name, newRc.Name)
return Rename(r.c, newRc, oldRc.Name)
case PreserveRollingUpdateCleanupPolicy:
return nil