deploy gcore_cdn fix syntax

This commit is contained in:
tyahin 2021-01-10 12:44:56 +03:00
parent 1eaf7c89b7
commit 7ed7a57d92

View File

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