replace hardcoded use of "kubectl" in apply warning msg

This commit is contained in:
juanvallejo
2017-07-13 14:38:38 -04:00
parent 74f1943774
commit f28ffdb5e9
3 changed files with 21 additions and 16 deletions

View File

@@ -337,7 +337,7 @@ func NewKubectlCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cob
{
Message: "Advanced Commands:",
Commands: []*cobra.Command{
NewCmdApply(f, out, err),
NewCmdApply("kubectl", f, out, err),
NewCmdPatch(f, out),
NewCmdReplace(f, out),
deprecatedAlias("update", NewCmdReplace(f, out)),