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
725addaf
Commit
725addaf
authored
Mar 09, 2019
by
neilpang
Browse files
fix format
parent
f5850d0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cn.sh
View file @
725addaf
...
...
@@ -69,7 +69,7 @@ dns_cn_rm() {
curData
=
"{
\"
name
\"
:
\"
$_sub_domain
\"
,
\"
data
\"
:
\"
$txtvalue
\"
}"
curResult
=
"
$(
_post
"
${
curData
}
"
"
${
CN_API
}
/dnszones/
${
_domain
}
/records/delete"
)
"
_debug curData is
"
$curData
"
_info
"commiting changes"
if
!
_cn_commit
;
then
_err
"commiting changes failed"
...
...
@@ -132,7 +132,7 @@ _cn_get_root() {
#not valid
return
1
fi
_cn_zonelist
=
"
$(
_get
${
CN_API
}
/dnszones/
)
"
_debug _cn_zonelist
"
${
_cn_zonelist
}
"
...
...
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