mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 15:42:45 +00:00
fix linting
This commit is contained in:
parent
bea9caba30
commit
ac1731a36c
@ -44,12 +44,10 @@ dns_aws_add() {
|
||||
_saveaccountconf_mutable AWS_SECRET_ACCESS_KEY "$AWS_SECRET_ACCESS_KEY"
|
||||
fi
|
||||
|
||||
|
||||
_saveaccountconf_mutable AWS_DNS_SLOWRATE "$AWS_DNS_SLOWRATE"
|
||||
_saveaccountconf_mutable AWS_ZONE_ID "$AWS_ZONE_ID"
|
||||
|
||||
|
||||
if [ -n "$AWS_ZONE_ID" ] ; then
|
||||
if [ -n "$AWS_ZONE_ID" ]; then
|
||||
_debug "Using hardcoded zone ID"
|
||||
_domain_id="/hostedzone/$AWS_ZONE_ID"
|
||||
else
|
||||
@ -114,7 +112,7 @@ dns_aws_rm() {
|
||||
_use_container_role || _use_instance_role
|
||||
fi
|
||||
|
||||
if [ -n "$AWS_ZONE_ID" ] ; then
|
||||
if [ -n "$AWS_ZONE_ID" ]; then
|
||||
_debug "Using hardcoded zone ID"
|
||||
_domain_id="/hostedzone/${AWS_ZONE_ID}"
|
||||
else
|
||||
@ -165,7 +163,6 @@ dns_aws_rm() {
|
||||
_get_root() {
|
||||
domain=$1
|
||||
i=1
|
||||
p=1
|
||||
|
||||
# iterate over names (a.b.c.d -> b.c.d -> c.d -> d)
|
||||
while true; do
|
||||
@ -201,7 +198,6 @@ _get_root() {
|
||||
_debug "Checking domain: $h - Next Page "
|
||||
aws_rest GET "2013-04-01/hostedzone" "marker=$_nextMarker"
|
||||
done
|
||||
p=$i
|
||||
i=$(_math "$i" + 1)
|
||||
done
|
||||
return 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user