From 24a30c8d4bd04f7d47282a2878bf45f082c9ff8e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 20 Apr 2018 14:20:26 -0400 Subject: [PATCH] fix: use correct variable name when writing deploy-branch value Closes #3158 --- plugins/git/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/install b/plugins/git/install index 92e6d4852..380e71b80 100755 --- a/plugins/git/install +++ b/plugins/git/install @@ -23,7 +23,7 @@ migrate_git_vars_0_12_0() { for app in $APPS; do DOKKU_DEPLOY_BRANCH=$(config_get "$app" DOKKU_DEPLOY_BRANCH || true) if [[ -n "$DOKKU_DEPLOY_BRANCH" ]]; then - fn-plugin-property-write "git" "$APP" "deploy-branch" "$DOKKU_DEPLOY_BRANCH" + fn-plugin-property-write "git" "$app" "deploy-branch" "$DOKKU_DEPLOY_BRANCH" config_unset --no-restart "$app" DOKKU_DEPLOY_BRANCH || true fi done