only attempt to stop a checks-disabled container if it is actually running. closes #2278

This commit is contained in:
Michael Hobbs
2016-06-28 20:32:04 -07:00
parent b20a91d24f
commit ae972cf3cd
3 changed files with 36 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ checks_check_deploy() {
eval "$(config_export global)"
eval "$(config_export app "$APP")"
if [[ "$(is_app_proctype_checks_skipped "$APP" "$PROC_TYPE")" == "true" ]]; then
if [[ "$(is_app_proctype_checks_skipped "$APP" "$DOKKU_APP_CONTAINER_TYPE")" == "true" ]]; then
dokku_log_info2_quiet "Zero downtime checks for app ($APP) have been skipped. moving on..."
exit 0
fi