From 647efab2dda3f851c53f7217f5f3e03868542824 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 22 Jul 2017 16:54:55 -0600 Subject: [PATCH] fix: ensure we always call proxy-build-config when calling ps_start --- plugins/ps/functions | 1 + plugins/ps/subcommands/restore | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/ps/functions b/plugins/ps/functions index f9f094df8..25f6ce401 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -98,6 +98,7 @@ ps_start() { else echo "App $APP already running" fi + plugn trigger proxy-build-config "$APP" else echo "App $APP has not been deployed" fi diff --git a/plugins/ps/subcommands/restore b/plugins/ps/subcommands/restore index db501f751..818c3d980 100755 --- a/plugins/ps/subcommands/restore +++ b/plugins/ps/subcommands/restore @@ -10,7 +10,6 @@ ps_restore_cmd() { if which parallel > /dev/null 2>&1; then dokku_apps | parallel dokku ps:start - dokku_apps | parallel plugn trigger proxy-build-config return fi @@ -19,7 +18,6 @@ ps_restore_cmd() { if [[ $DOKKU_APP_RESTORE != 0 ]]; then echo "Restoring app $app ..." if ps_start "$app"; then - plugn trigger proxy-build-config "$app" continue fi dokku_log_warn "dokku ps:restore ${app} failed"