Merge pull request #1923 from dokku/mh-typo-gen-scale-file

fix typo in generate_scale_file()
This commit is contained in:
Michael Hobbs
2016-02-17 14:57:07 -08:00

View File

@@ -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