Skip to content
Permalink
Browse files

Merge pull request #1925 from kuk/master

Fix Vscale hostedzone
  • Loading branch information...
Neilpang committed Nov 3, 2019
2 parents 35b34c4 + 6eaf2d6 commit 6140a3c26ba5cf26bc15a88cb4477c400b207ffa
Showing with 1 addition and 1 deletion.
  1. +1 −1 dnsapi/dns_vscale.sh
@@ -102,7 +102,7 @@ _get_root() {
return 1
fi

hostedzone="$(echo "$response" | _egrep_o "{.*\"name\":\s*\"$h\".*}")"
hostedzone="$(echo "$response" | tr "{" "\n" | _egrep_o "\"name\":\s*\"$h\".*}")"
if [ "$hostedzone" ]; then
_domain_id=$(printf "%s\n" "$hostedzone" | _egrep_o "\"id\":\s*[0-9]+" | _head_n 1 | cut -d : -f 2 | tr -d \ )
if [ "$_domain_id" ]; then

0 comments on commit 6140a3c

Please sign in to comment.
You can’t perform that action at this time.