Fix command name
This commit is contained in:
@@ -4,7 +4,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_BASE_PATH/common/functions"
|
||||
source "$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")/functions"
|
||||
|
||||
enter-cmd() {
|
||||
mysql-enter-cmd() {
|
||||
declare desc="enter or run a command in a running $PLUGIN_SERVICE service container"
|
||||
local cmd="$PLUGIN_COMMAND_PREFIX:enter" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1
|
||||
declare SERVICE="$1" && shift 1
|
||||
@@ -13,4 +13,4 @@ enter-cmd() {
|
||||
service_enter "$SERVICE" "$@"
|
||||
}
|
||||
|
||||
enter-cmd "$@"
|
||||
mysql-enter-cmd "$@"
|
||||
|
||||
Reference in New Issue
Block a user