remove mapper dependency - PrintSuccess

This commit is contained in:
juanvallejo
2018-02-01 18:59:11 -05:00
parent 06472a054a
commit beb5ea641a
67 changed files with 156 additions and 169 deletions

View File

@@ -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
}