Make default impls private
This commit is contained in:
@@ -111,7 +111,7 @@ func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, arg
|
||||
return err
|
||||
}
|
||||
|
||||
updater := kubectl.NewRollingUpdater(newRc.Namespace, &kubectl.RealRollingUpdaterClient{client})
|
||||
updater := kubectl.NewRollingUpdater(newRc.Namespace, kubectl.NewRollingUpdaterClient(client))
|
||||
|
||||
// fetch rc
|
||||
oldRc, err := client.ReplicationControllers(newRc.Namespace).Get(oldName)
|
||||
|
Reference in New Issue
Block a user