polish to keep the same log style

Signed-off-by: Liu Ming <hit_oak_tree@126.com>
(cherry picked from commit ff3ed53b7c)
(cherry picked from commit 0725515676)
release-3.2
Liu Ming 5 years ago committed by Matt Farina
parent 2a2db11228
commit 8b8ca996f3
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -429,7 +429,7 @@ func updateResource(c *Client, target *resource.Info, currentObj runtime.Object,
if err != nil {
return errors.Wrap(err, "failed to replace object")
}
c.Log("Replaced %q with kind %s for kind %s\n", target.Name, currentObj.GetObjectKind().GroupVersionKind().Kind, kind)
c.Log("Replaced %q with kind %s for kind %s", target.Name, currentObj.GetObjectKind().GroupVersionKind().Kind, kind)
} else {
patch, patchType, err := createPatch(target, currentObj)
if err != nil {

Loading…
Cancel
Save