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
0b363a5c
Commit
0b363a5c
authored
Dec 24, 2018
by
Ne-Lexa
Browse files
removed the _clearaccountconf() call for erroneous requests
parent
a2071998
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_internetbs.sh
View file @
0b363a5c
...
...
@@ -41,8 +41,6 @@ dns_internetbs_add() {
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
SUCCESS
\"
"
;
then
_err
"ERROR add TXT record"
_err
"
$response
"
_clearaccountconf INTERNETBS_API_KEY
_clearaccountconf INTERNETBS_API_PASSWORD
return
1
fi
...
...
@@ -75,8 +73,6 @@ dns_internetbs_rm() {
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
SUCCESS
\"
"
;
then
_err
"ERROR list dns records"
_err
"
$response
"
_clearaccountconf INTERNETBS_API_KEY
_clearaccountconf INTERNETBS_API_PASSWORD
return
1
fi
...
...
@@ -89,8 +85,6 @@ dns_internetbs_rm() {
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
SUCCESS
\"
"
;
then
_err
"ERROR remove dns record"
_err
"
$response
"
_clearaccountconf INTERNETBS_API_KEY
_clearaccountconf INTERNETBS_API_PASSWORD
return
1
fi
...
...
@@ -118,8 +112,6 @@ _get_root() {
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
SUCCESS
\"
"
;
then
_err
"ERROR fetch domain list"
_err
"
$response
"
_clearaccountconf INTERNETBS_API_KEY
_clearaccountconf INTERNETBS_API_PASSWORD
return
1
fi
...
...
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