mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
push to run actions
This commit is contained in:
parent
f426940bd2
commit
e48d7de763
@ -155,6 +155,7 @@ _get_root() {
|
|||||||
i=1
|
i=1
|
||||||
p=1
|
p=1
|
||||||
|
|
||||||
|
# iterate over names (a.b.c.d -> b.c.d -> c.d -> d)
|
||||||
while true; do
|
while true; do
|
||||||
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
|
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
|
||||||
_debug "Checking domain: $h"
|
_debug "Checking domain: $h"
|
||||||
@ -163,6 +164,7 @@ _get_root() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# iterate over paginated result for list_hosted_zones
|
||||||
aws_rest GET "2013-04-01/hostedzone"
|
aws_rest GET "2013-04-01/hostedzone"
|
||||||
while true; do
|
while true; do
|
||||||
if _contains "$response" "<Name>$h.</Name>"; then
|
if _contains "$response" "<Name>$h.</Name>"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user