mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 07:22:44 +00:00
Resolve shfmt errors on PR run
This commit is contained in:
parent
e6ec46adc2
commit
f661ff9631
@ -104,7 +104,7 @@ _openprovider_prepare_credentials() {
|
|||||||
_saveaccountconf_mutable OPENPROVIDER_PASSWORD "$OPENPROVIDER_PASSWORD"
|
_saveaccountconf_mutable OPENPROVIDER_PASSWORD "$OPENPROVIDER_PASSWORD"
|
||||||
}
|
}
|
||||||
|
|
||||||
_openprovider_rest(){
|
_openprovider_rest() {
|
||||||
httpmethod=$1
|
httpmethod=$1
|
||||||
queryparameters=$2
|
queryparameters=$2
|
||||||
requestbody=$3
|
requestbody=$3
|
||||||
@ -141,7 +141,7 @@ _openprovider_rest(){
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
_openprovider_rest_login(){
|
_openprovider_rest_login() {
|
||||||
export _H1="Content-Type: application/json"
|
export _H1="Content-Type: application/json"
|
||||||
export _H2="Accept: application/json"
|
export _H2="Accept: application/json"
|
||||||
|
|
||||||
@ -162,12 +162,12 @@ _openprovider_rest_login(){
|
|||||||
# _domain_id=123456789
|
# _domain_id=123456789
|
||||||
# _domain_name=domain.com
|
# _domain_name=domain.com
|
||||||
# _sub_domain=_acme-challenge.www
|
# _sub_domain=_acme-challenge.www
|
||||||
_get_dns_zone(){
|
_get_dns_zone() {
|
||||||
domain=$1
|
domain=$1
|
||||||
i=1
|
i=1
|
||||||
p=1
|
p=1
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
||||||
if [ -z "$h" ]; then
|
if [ -z "$h" ]; then
|
||||||
# Empty value not allowed
|
# Empty value not allowed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user