Skip to content

Commit

Permalink
Merge pull request #14987 from smarterclayton/double_trigger
Browse files Browse the repository at this point in the history
set triggers is fetching resources twice
  • Loading branch information
smarterclayton committed Jul 2, 2017
2 parents 79b4411 + acd1edd commit 082730f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/cmd/cli/cmd/set/triggers.go
Expand Up @@ -226,8 +226,6 @@ func (o *TriggersOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, arg
ContinueOnError().
NamespaceParam(cmdNamespace).DefaultNamespace().
FilenameParam(explicit, &resource.FilenameOptions{Recursive: false, Filenames: o.Filenames}).
SelectorParam(o.Selector).
ResourceTypeOrNameArgs(o.All, args...).
Flatten()

if !o.Local {
Expand Down

0 comments on commit 082730f

Please sign in to comment.