mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +00:00
fix format
This commit is contained in:
parent
dd171ca44a
commit
8c88757451
@ -111,7 +111,7 @@ dns_azure_rm() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$AZUREDNS_APPID" ];then
|
if [ -z "$AZUREDNS_APPID" ]; then
|
||||||
AZUREDNS_SUBSCRIPTIONID=""
|
AZUREDNS_SUBSCRIPTIONID=""
|
||||||
AZUREDNS_TENANTID=""
|
AZUREDNS_TENANTID=""
|
||||||
AZUREDNS_APPID=""
|
AZUREDNS_APPID=""
|
||||||
|
@ -83,7 +83,7 @@ dns_selectel_rm() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_record_id="$(echo "$_record_seg" | tr ",}" "\n\n" | tr -d " " | grep "\"id\"" | cut -d : -f 2)"
|
_record_id="$(echo "$_record_seg" | tr "," "\n" | tr "}" "\n" | tr -d " " | grep "\"id\"" | cut -d : -f 2)"
|
||||||
_debug2 "_record_id" "$_record_id"
|
_debug2 "_record_id" "$_record_id"
|
||||||
if [ -z "$_record_id" ]; then
|
if [ -z "$_record_id" ]; then
|
||||||
_err "can not find _record_id"
|
_err "can not find _record_id"
|
||||||
@ -127,7 +127,7 @@ _get_root() {
|
|||||||
if ! _sl_rest GET "/$h"; then
|
if ! _sl_rest GET "/$h"; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_domain_id="$(echo "$response" | tr ",}" "\n\n" | tr -d " " | grep "\"id\":" | cut -d : -f 2)"
|
_domain_id="$(echo "$response" | tr "," "\n" | tr "}" "\n" | tr -d " " | grep "\"id\":" | cut -d : -f 2)"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
p=$i
|
p=$i
|
||||||
|
Loading…
Reference in New Issue
Block a user