deploy gcore_cdn fix syntax

This commit is contained in:
tyahin 2021-01-10 12:44:56 +03:00 committed by Bernard Spil
parent 5838ee221b
commit 0dc619ecdc

View File

@ -74,7 +74,7 @@ gcore_cdn_deploy() {
_debug _response "$_response"
_regex="\"primary_resource\":null},"
_debug _regex "$_regex"
_response=$(echo "$_response" | sed 's/$_regex/$_regex\n/g')
_response=$(echo "$_response" | sed "s/$_regex/$_regex\n/g")
_debug _response "$_response"
_regex="^.*\"cname\":\"$_cdomain\".*$"
_debug _regex "$_regex"