mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
fix aws
This commit is contained in:
parent
1f4e64f81d
commit
fc9649dbc4
@ -92,7 +92,7 @@ _get_root() {
|
|||||||
_debug "IsTruncated"
|
_debug "IsTruncated"
|
||||||
_nextMarker="$(echo "$response" | _egrep_o "<NextMarker>.*</NextMarker>" | cut -d '>' -f 2 | cut -d '<' -f 1)"
|
_nextMarker="$(echo "$response" | _egrep_o "<NextMarker>.*</NextMarker>" | cut -d '>' -f 2 | cut -d '<' -f 1)"
|
||||||
_debug "NextMarker" "$_nextMarker"
|
_debug "NextMarker" "$_nextMarker"
|
||||||
if aws_rest GET "2013-04-01/hostedzone?marker=$_nextMarker"; then
|
if aws_rest GET "2013-04-01/hostedzone" "marker=$_nextMarker"; then
|
||||||
_debug "Truncated request OK"
|
_debug "Truncated request OK"
|
||||||
i=2
|
i=2
|
||||||
p=1
|
p=1
|
||||||
@ -220,7 +220,7 @@ aws_rest() {
|
|||||||
_H2="Authorization: $Authorization"
|
_H2="Authorization: $Authorization"
|
||||||
_debug _H2 "$_H2"
|
_debug _H2 "$_H2"
|
||||||
|
|
||||||
url="$AWS_URL/$ep"
|
url="$AWS_URL/$ep?$qsr"
|
||||||
|
|
||||||
if [ "$mtd" = "GET" ]; then
|
if [ "$mtd" = "GET" ]; then
|
||||||
response="$(_get "$url")"
|
response="$(_get "$url")"
|
||||||
|
Loading…
Reference in New Issue
Block a user