Merge pull request #6835 from erickedji/add-missing-ip-regex-vars
Add missing local RE_IPV4 & RE_IPV6 vars in core-post-deploy
This commit is contained in:
@@ -8,6 +8,8 @@ trigger-domains-core-post-deploy() {
|
|||||||
declare desc="domains core-post-deploy plugin trigger"
|
declare desc="domains core-post-deploy plugin trigger"
|
||||||
declare trigger="core-post-deploy"
|
declare trigger="core-post-deploy"
|
||||||
declare APP="$1"
|
declare APP="$1"
|
||||||
|
local RE_IPV4="$(get_ipv4_regex)"
|
||||||
|
local RE_IPV6="$(get_ipv6_regex)"
|
||||||
|
|
||||||
if [[ "$(plugn trigger proxy-type "$APP")" != "nginx" ]]; then
|
if [[ "$(plugn trigger proxy-type "$APP")" != "nginx" ]]; then
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user