Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
0545d6f0
Unverified
Commit
0545d6f0
authored
Jul 08, 2020
by
neil
Committed by
GitHub
Jul 08, 2020
Browse files
Merge pull request #3031 from peterkelm/patch-1
Reflect recent Variomedia API changes
parents
d8042289
f02af8d4
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_variomedia.sh
View file @
0545d6f0
...
@@ -107,7 +107,7 @@ _get_root() {
...
@@ -107,7 +107,7 @@ _get_root() {
fi
fi
if
_startswith
"
$response
"
"
\{\"
data
\"
:"
;
then
if
_startswith
"
$response
"
"
\{\"
data
\"
:"
;
then
if
_contains
"
$response
"
"
\"
id
\"
:
\"
$h
\"
"
;
then
if
_contains
"
$response
"
"
\"
id
\"
:
\"
$h
\"
"
;
then
_sub_domain
=
"
$(
echo
"
$fulldomain
"
|
sed
"s/
\\
.
$h
\$
//"
)
"
_sub_domain
=
"
$(
echo
"
$fulldomain
"
|
sed
"s/
\\
.
$h
\$
//"
)
"
_domain
=
$h
_domain
=
$h
return
0
return
0
...
...
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