update PrintSuccess message when using --dry-run

This commit is contained in:
juanvallejo
2016-08-23 14:11:39 -04:00
parent 4135988880
commit 52fc8efa55
21 changed files with 45 additions and 36 deletions

View File

@@ -221,7 +221,7 @@ func (o *ImageOptions) Run() error {
}
info.Refresh(obj, true)
cmdutil.PrintSuccess(o.Mapper, o.ShortOutput, o.Out, info.Mapping.Resource, info.Name, "image updated")
cmdutil.PrintSuccess(o.Mapper, o.ShortOutput, o.Out, info.Mapping.Resource, info.Name, false, "image updated")
}
return utilerrors.NewAggregate(allErrs)
}