Skip to content

Commit

Permalink
fix: remove mistakenly added flag to trigger command.
Browse files Browse the repository at this point in the history
Signed-off-by: i4k <[email protected]>
  • Loading branch information
i4ki committed Oct 11, 2024
1 parent c375944 commit fdea447
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/terramate/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ type cliSpec struct {
IgnoreChange bool `default:"false" help:"Trigger stacks to be ignored by change detection"`
Reason string `default:"" name:"reason" help:"Set a reason for triggering the stack."`
cloudFilterFlags
changeDetectionFlags
} `cmd:"" help:"Mark a stack as changed so it will be triggered in Change Detection."`

RunGraph struct {
Expand Down Expand Up @@ -690,10 +689,8 @@ func (c *cli) run() {
case "experimental clone <srcdir> <destdir>":
c.cloneStack()
case "experimental trigger":
c.setupChangeDetection(c.parsedArgs.Experimental.Trigger.EnableChangeDetection, c.parsedArgs.Experimental.Trigger.DisableChangeDetection)
c.triggerStackByFilter()
case "experimental trigger <stack>":
c.setupChangeDetection(c.parsedArgs.Experimental.Trigger.EnableChangeDetection, c.parsedArgs.Experimental.Trigger.DisableChangeDetection)
c.triggerStack(c.parsedArgs.Experimental.Trigger.Stack)
case "experimental vendor download <source> <ref>":
c.vendorDownload()
Expand Down

0 comments on commit fdea447

Please sign in to comment.