feat: add verify_app_name calls to all shell subcommands
Without this, folks could potentially run commands against invalid applications.
This commit is contained in:
1 parent
03e80a76b6
commit
fd162f8895
28 files changed
+17
-32
No files matched your search
@@ -112,5 +112,6 @@ cmd-nginx-validate-config() {
|
||||
fi
|
||||
declare APP="$1" FLAG="$2"
|
||||
|
||||
verify_app_name "$APP"
|
||||
validate_nginx "$APP" "$FLAG"
|
||||
}
|
||||
Reference in new issue
Block a user