diff --git a/pkg/kubectl/rolling_updater.go b/pkg/kubectl/rolling_updater.go index e1e2af81e69..fd3a82c247e 100644 --- a/pkg/kubectl/rolling_updater.go +++ b/pkg/kubectl/rolling_updater.go @@ -525,7 +525,7 @@ func (r *RollingUpdater) cleanupWithClients(oldRc, newRc *api.ReplicationControl if err := r.rcClient.ReplicationControllers(r.ns).Delete(oldRc.Name, nil); err != nil { return err } - fmt.Fprintf(config.Out, "Renaming %s to %s\n", oldRc.Name, newRc.Name) + fmt.Fprintf(config.Out, "Renaming %s to %s\n", newRc.Name, oldRc.Name) return Rename(r.rcClient, newRc, oldRc.Name) case PreserveRollingUpdateCleanupPolicy: return nil