fix: properly parse input from ps-current-scale

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-08-01 01:53:46 -04:00
1 parent 213f7d224c
commit 550a0bd07b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -518,7 +518,7 @@ nginx_build_config() {
UPP_PROC_TYPE="${PROC_TYPE^^}"
UPP_PROC_TYPE="${UPP_PROC_TYPE//-/_}"
SIGIL_PARAMS+=("DOKKU_APP_${UPP_PROC_TYPE}_LISTENERS=$LISTENERS")
done <"$(plugn trigger ps-current-scale "$APP")"
done < <(plugn trigger ps-current-scale "$APP")
if grep DOKKU_APP_LISTENERS "$NGINX_TEMPLATE"; then
dokku_log_warn "Deprecated: Usage of DOKKU_APP_LISTENERS within nginx.conf.sigil templates is deprecated in favor of DOKKU_APP_WEB_LISTENERS"