From d696013fe24a77ab94d5b3ff71233285bbcc632a Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Wed, 2 Sep 2015 11:19:46 -0700 Subject: [PATCH] use get_running_image_tag in new enter plugin --- plugins/enter/commands | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/enter/commands b/plugins/enter/commands index 5f5f2d4a8..601895036 100755 --- a/plugins/enter/commands +++ b/plugins/enter/commands @@ -4,8 +4,8 @@ source "$(dirname "$0")/../common/functions" case "$1" in enter) - APP="$2"; IMAGE="dokku/$APP"; CONTAINER_TYPE="$3" - verify_app_name "$APP" + APP="$2"; TAG=$(get_running_image_tag $APP); CONTAINER_TYPE="$3" + verify_app_name "$APP" "$TAG" [[ ! -n "$3" ]] && dokku_log_fail "No container id specified"