From f2e153744cb71b7c1b41be0d00f5e04d8d96db05 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 3 Sep 2015 22:38:24 -0400 Subject: [PATCH] [ci skip] minor formatting changes --- plugins/ps/functions | 2 +- tests/test_deploy | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/ps/functions b/plugins/ps/functions index f0e5aef78..c21498f05 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -2,7 +2,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_PATH/common/functions" -print_dokku_scale_file(){ +print_dokku_scale_file() { local APP="$1"; local DOKKU_SCALE_FILE="$DOKKU_ROOT/$APP/DOKKU_SCALE" while read line || [ -n "$line" ] do diff --git a/tests/test_deploy b/tests/test_deploy index f1b46a0a6..07b0a27e4 100755 --- a/tests/test_deploy +++ b/tests/test_deploy @@ -5,17 +5,17 @@ SELF=$(which $0); APP="$1"; TARGET="$2"; FORWARDED_PORT="$3"; SHOULD_FAIL="$4" REMOTE="dokku@$TARGET" REPO="test-$(basename $APP)-$RANDOM" -destroy_app(){ +destroy_app() { echo $REPO | ssh $REMOTE apps:destroy $REPO } -failed(){ +failed() { echo "************ $1 failed ************" destroy_app exit 1 } -succeeded(){ +succeeded() { echo "************ $1 succeeded but should have failed ************" destroy_app exit 1