Skip to content

Commit

Permalink
remove dry-run change
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Valiarovski <[email protected]>
  • Loading branch information
darkstarmv committed Mar 30, 2023
1 parent df7783b commit 1a414c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/vela-kubernetes/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ func (a *Apply) Command(c *Config, file string) *exec.Cmd {
flags = append(flags, "apply")

// add flag for dry run from provided apply dry run
if a.DryRun {
flags = append(flags, fmt.Sprintf("--dry-run=server"))
}
flags = append(flags, fmt.Sprintf("--dry-run=%t", a.DryRun))

// add flag for file from provided apply file
flags = append(flags, fmt.Sprintf("--filename=%s", file))
Expand Down

0 comments on commit 1a414c3

Please sign in to comment.