mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:32: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"
|
||||
}
|
||||
|
||||
_openprovider_rest(){
|
||||
_openprovider_rest() {
|
||||
httpmethod=$1
|
||||
queryparameters=$2
|
||||
requestbody=$3
|
||||
@ -141,7 +141,7 @@ _openprovider_rest(){
|
||||
return 0
|
||||
}
|
||||
|
||||
_openprovider_rest_login(){
|
||||
_openprovider_rest_login() {
|
||||
export _H1="Content-Type: application/json"
|
||||
export _H2="Accept: application/json"
|
||||
|
||||
@ -162,12 +162,12 @@ _openprovider_rest_login(){
|
||||
# _domain_id=123456789
|
||||
# _domain_name=domain.com
|
||||
# _sub_domain=_acme-challenge.www
|
||||
_get_dns_zone(){
|
||||
_get_dns_zone() {
|
||||
domain=$1
|
||||
i=1
|
||||
p=1
|
||||
|
||||
while true; do
|
||||
while true; do
|
||||
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
||||
if [ -z "$h" ]; then
|
||||
# Empty value not allowed
|
||||
|
Loading…
x
Reference in New Issue
Block a user