Skip to content

Commit

Permalink
fix: remove unneeded flag added to trigger command. (#1914)
Browse files Browse the repository at this point in the history
## What this PR does / why we need it:

This flag was planned to be added to `experimental trigger` but later
realized as not needed but I forgot to rollback. This is not released,
just introduced in #1904 and does not need a changelog update.

## Which issue(s) this PR fixes:
none

## Special notes for your reviewer:

## Does this PR introduce a user-facing change?
```
no
```
  • Loading branch information
i4ki authored Oct 11, 2024
2 parents c375944 + fdea447 commit 26998eb
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 26998eb

Please sign in to comment.