From 5588357589a094a8e6fea127de6ee3b27e074020 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Wed, 17 Feb 2016 13:03:43 -0800 Subject: [PATCH] fix typo in generate_scale_file() --- plugins/ps/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions b/plugins/ps/functions index 3e7aaac3b..7321d6633 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -10,7 +10,7 @@ print_dokku_scale_file() { } generate_scale_file() { - local APP="$1"; local IMAGE_TAG="$3"; local IMAGE=$(get_app_image_name $APP $IMAGE_TAG); local DOKKU_SCALE_FILE="$DOKKU_ROOT/$APP/DOKKU_SCALE" + local APP="$1"; local IMAGE_TAG="$2"; local IMAGE=$(get_app_image_name $APP $IMAGE_TAG); local DOKKU_SCALE_FILE="$DOKKU_ROOT/$APP/DOKKU_SCALE" verify_app_name "$APP" copy_from_image "$IMAGE" "/app/DOKKU_SCALE" "$DOKKU_ROOT/$APP" 2>/dev/null || true