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
bab4f691
Commit
bab4f691
authored
Nov 12, 2017
by
Daniel Lo Nigro
Browse files
Fix lint warning
parent
212d0f24
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cloudns.sh
View file @
bab4f691
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
# Repository: https://github.com/ClouDNS/acme.sh/
# Repository: https://github.com/ClouDNS/acme.sh/
#CLOUDNS_AUTH_ID=XXXXX
#CLOUDNS_AUTH_ID=XXXXX
#CLOUDNS_SUB_AUTH_ID=XXXXX
#CLOUDNS_AUTH_PASSWORD="YYYYYYYYY"
#CLOUDNS_AUTH_PASSWORD="YYYYYYYYY"
CLOUDNS_API
=
"https://api.cloudns.net"
CLOUDNS_API
=
"https://api.cloudns.net"
...
@@ -178,7 +179,7 @@ _dns_cloudns_http_api_call() {
...
@@ -178,7 +179,7 @@ _dns_cloudns_http_api_call() {
auth_user
=
"sub-auth-id=
$CLOUDNS_SUB_AUTH_ID
"
auth_user
=
"sub-auth-id=
$CLOUDNS_SUB_AUTH_ID
"
else
else
auth_user
=
"auth-id=
$CLOUDNS_AUTH_ID
"
auth_user
=
"auth-id=
$CLOUDNS_AUTH_ID
"
fi
;
fi
if
[
-z
"
$2
"
]
;
then
if
[
-z
"
$2
"
]
;
then
data
=
"
$auth_user
&auth-password=
$CLOUDNS_AUTH_PASSWORD
"
data
=
"
$auth_user
&auth-password=
$CLOUDNS_AUTH_PASSWORD
"
...
...
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