add secret flag to options

This commit is contained in:
xilabao
2017-02-25 23:40:50 +08:00
parent db65bed243
commit 131802a5cd
18 changed files with 60 additions and 31 deletions

View File

@@ -178,7 +178,7 @@ func (o *LabelOptions) RunLabel(f cmdutil.Factory, cmd *cobra.Command) error {
return err
}
changeCause := f.Command()
changeCause := f.Command(cmd, false)
mapper, typer, err := f.UnstructuredObject()
if err != nil {