From 42af3c4a6e0255ce62d49dd644577188b114e6f5 Mon Sep 17 00:00:00 2001 From: Mykola Solodukha Date: Tue, 7 Apr 2026 21:01:11 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Prevent=20client=20from=20prepen?= =?UTF-8?q?ding=20`--app`=20for=20network=20commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dokku client auto-detects the app name from the git remote and prepends `--app ` to all SSH commands not explicitly excluded. Network commands like `network:create` take a network name (not an app name) as their first argument, so the injected app name was being used as the network name instead. Co-Authored-By: Claude Opus 4.6 (1M context) --- contrib/dokku_client.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 2b43d004d..a618e3342 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -240,6 +240,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 + [[ " network:create network:destroy network:exists network:info network:list network:rebuildall " == *" $CMD "* ]] && unset APP [[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP [[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP if [[ -n "$@" ]] && [[ -n "$APP" ]]; then