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
8c887574
Commit
8c887574
authored
Jan 26, 2018
by
neilpang
Browse files
fix format
parent
dd171ca4
Changes
2
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_azure.sh
View file @
8c887574
...
...
@@ -111,7 +111,7 @@ dns_azure_rm() {
return
1
fi
if
[
-z
"
$AZUREDNS_APPID
"
]
;
then
if
[
-z
"
$AZUREDNS_APPID
"
]
;
then
AZUREDNS_SUBSCRIPTIONID
=
""
AZUREDNS_TENANTID
=
""
AZUREDNS_APPID
=
""
...
...
dnsapi/dns_selectel.sh
View file @
8c887574
...
...
@@ -83,7 +83,7 @@ dns_selectel_rm() {
return
1
fi
_record_id
=
"
$(
echo
"
$_record_seg
"
|
tr
",
}
"
"
\n\n
"
|
tr
-d
" "
|
grep
"
\"
id
\"
"
|
cut
-d
:
-f
2
)
"
_record_id
=
"
$(
echo
"
$_record_seg
"
|
tr
","
"
\n
"
|
tr
"}"
"
\n
"
|
tr
-d
" "
|
grep
"
\"
id
\"
"
|
cut
-d
:
-f
2
)
"
_debug2
"_record_id"
"
$_record_id
"
if
[
-z
"
$_record_id
"
]
;
then
_err
"can not find _record_id"
...
...
@@ -127,7 +127,7 @@ _get_root() {
if
!
_sl_rest GET
"/
$h
"
;
then
return
1
fi
_domain_id
=
"
$(
echo
"
$response
"
|
tr
",
}
"
"
\n\n
"
|
tr
-d
" "
|
grep
"
\"
id
\"
:"
|
cut
-d
:
-f
2
)
"
_domain_id
=
"
$(
echo
"
$response
"
|
tr
","
"
\n
"
|
tr
"}"
"
\n
"
|
tr
-d
" "
|
grep
"
\"
id
\"
:"
|
cut
-d
:
-f
2
)
"
return
0
fi
p
=
$i
...
...
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