Skip to content

Commit

Permalink
redeploy command without parameters (#2379)
Browse files Browse the repository at this point in the history
topology discovery for redeploy

Co-authored-by: Anatoly Kolpakov <[email protected]>
  • Loading branch information
axxyhtrx and Anatoly Kolpakov authored Jan 6, 2025
1 parent 3065a43 commit a837110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func preRunFn(cmd *cobra.Command, _ []string) error {
// Errors if more than one file is found by the glob path.
func getTopoFilePath(cmd *cobra.Command) error {
// set commands which may use topo file find functionality, the rest don't need it
if !(cmd.Name() == "deploy" || cmd.Name() == "destroy" || cmd.Name() == "inspect" ||
if !(cmd.Name() == "deploy" || cmd.Name() == "destroy" || cmd.Name() == "redeploy" || cmd.Name() == "inspect" ||
cmd.Name() == "save" || cmd.Name() == "graph") {
return nil
}
Expand Down

0 comments on commit a837110

Please sign in to comment.