Merge pull request #4518 from brendandburns/master

Fix rolling update if namespace is empty.
pull/6/head
Clayton Coleman 2015-02-17 23:49:17 -05:00
commit a01c09a61a
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ Examples:
checkErr(err)
newRc := obj.(*api.ReplicationController)
if len(namespace) == 0 {
namespace = api.NamespaceDefault
}
updater := kubectl.NewRollingUpdater(namespace, client)
// fetch rc