From 9607bedc070c658de5f0c2633c7c2a9b78ccada1 Mon Sep 17 00:00:00 2001 From: Komlan KEDJI Date: Wed, 17 Apr 2024 20:06:40 +0000 Subject: [PATCH] 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. --- plugins/domains/core-post-deploy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/domains/core-post-deploy b/plugins/domains/core-post-deploy index 60b71ef6f..12d708a38 100755 --- a/plugins/domains/core-post-deploy +++ b/plugins/domains/core-post-deploy @@ -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