add secret flag to options
This commit is contained in:
@@ -183,7 +183,7 @@ func (o AnnotateOptions) RunAnnotate(f cmdutil.Factory, cmd *cobra.Command) erro
|
||||
return err
|
||||
}
|
||||
|
||||
changeCause := f.Command()
|
||||
changeCause := f.Command(cmd, false)
|
||||
|
||||
mapper, typer, err := f.UnstructuredObject()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user