Add missing local RE_IPV4 & RE_IPV6 vars in core-post-deploy

These local variables not being defined makes the regex empty, which makes dokku always print the warning.
This commit is contained in:
Komlan KEDJI
2024-04-17 20:06:40 +00:00
committed by GitHub
parent 1b5b3ad681
commit 9607bedc07

View File

@@ -8,6 +8,8 @@ trigger-domains-core-post-deploy() {
declare desc="domains core-post-deploy plugin trigger"
declare trigger="core-post-deploy"
declare APP="$1"
local RE_IPV4="$(get_ipv4_regex)"
local RE_IPV6="$(get_ipv6_regex)"
if [[ "$(plugn trigger proxy-type "$APP")" != "nginx" ]]; then
return