fix: ensure we always call proxy-build-config when calling ps_start

This commit is contained in:
Jose Diaz-Gonzalez authored and Michael Hobbs committed 2017-10-02 15:05:13 -07:00
1 parent 44282fd857
commit 647efab2dd
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -98,6 +98,7 @@ ps_start() {
else else
echo "App $APP already running" echo "App $APP already running"
fi fi
plugn trigger proxy-build-config "$APP"
else else
echo "App $APP has not been deployed" echo "App $APP has not been deployed"
fi fi
-2
View File
@@ -10,7 +10,6 @@ ps_restore_cmd() {
if which parallel > /dev/null 2>&1; then if which parallel > /dev/null 2>&1; then
dokku_apps | parallel dokku ps:start dokku_apps | parallel dokku ps:start
dokku_apps | parallel plugn trigger proxy-build-config
return return
fi fi
@@ -19,7 +18,6 @@ ps_restore_cmd() {
if [[ $DOKKU_APP_RESTORE != 0 ]]; then if [[ $DOKKU_APP_RESTORE != 0 ]]; then
echo "Restoring app $app ..." echo "Restoring app $app ..."
if ps_start "$app"; then if ps_start "$app"; then
plugn trigger proxy-build-config "$app"
continue continue
fi fi
dokku_log_warn "dokku ps:restore ${app} failed" dokku_log_warn "dokku ps:restore ${app} failed"