Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6140a3c2
Unverified
Commit
6140a3c2
authored
Nov 03, 2019
by
neil
Committed by
GitHub
Nov 03, 2019
Browse files
Merge pull request #1925 from kuk/master
Fix Vscale hostedzone
parents
35b34c43
6eaf2d67
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_vscale.sh
View file @
6140a3c2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment