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
9f6832d6
Commit
9f6832d6
authored
Feb 20, 2018
by
Boyan Peychev
Browse files
Update dns api to support v2 wildcard cert #1261
parent
5309afc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cloudns.sh
View file @
9f6832d6
...
@@ -66,8 +66,8 @@ dns_cloudns_rm() {
...
@@ -66,8 +66,8 @@ dns_cloudns_rm() {
return
1
return
1
fi
fi
for
i
in
$(
echo
$response
|
tr
'{'
"
\n
"
|
grep
$record
)
;
do
for
i
in
$(
echo
"
$response
"
|
tr
'{'
"
\n
"
|
grep
$record
)
;
do
record_id
=
$(
echo
$i
|
tr
','
"
\n
"
|
grep
-E
'^"id"'
|
sed
-re
's/^\"id\"\:\"([0-9]+)\"$/\1/g'
)
;
record_id
=
$(
echo
"
$i
"
|
tr
','
"
\n
"
|
grep
-E
'^"id"'
|
sed
-re
's/^\"id\"\:\"([0-9]+)\"$/\1/g'
)
if
[
!
-z
"
$record_id
"
]
;
then
if
[
!
-z
"
$record_id
"
]
;
then
_debug zone
"
$zone
"
_debug zone
"
$zone
"
...
...
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