allow zero-downtime to be completely disabled. closes #2073. closes #2125

This commit is contained in:
Michael Hobbs
2016-05-09 16:03:07 -07:00
parent 0c58aeaa52
commit 1e0c585b74
14 changed files with 389 additions and 72 deletions

View File

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