mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
remove mapper dependency - PrintSuccess
This commit is contained in:
@@ -372,7 +372,7 @@ func RunRollingUpdate(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args
|
||||
if outputFormat != "" {
|
||||
return f.PrintObject(cmd, false, mapper, newRc, out)
|
||||
}
|
||||
f.PrintSuccess(mapper, false, out, "replicationcontrollers", oldName, dryrun, message)
|
||||
f.PrintSuccess(false, out, "replicationcontrollers", oldName, dryrun, message)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user