Merge pull request #5466 from dokku/5464-ignore-app

Drop the app argument when calling storage:ensure-directory from remote client
This commit is contained in:
josegonzalez
2022-11-16 10:57:27 -05:00
committed by GitHub

View File

@@ -147,6 +147,7 @@ main() {
[[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP
[[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP
[[ " storage:ensure-directory " == *" $CMD "* ]] && unset APP
[[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP
[[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP
[[ -n "$@" ]] && [[ -n "$APP" ]] && app_arg="--app $APP"