Resolve shfmt errors on PR run

This commit is contained in:
Lambiek12 2024-11-23 19:21:03 +01:00
parent e6ec46adc2
commit f661ff9631

View File

@ -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