mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 05:42:43 +00:00
fix CI reported problems for shellcheck and shfmt
fix minor problems reported by shellcheck and shfmt
This commit is contained in:
parent
05ec3922f1
commit
2f8fb360aa
@ -126,7 +126,7 @@ _Linode_API() {
|
||||
# _domain=domain.com
|
||||
# _domain_id=12345
|
||||
_get_root() {
|
||||
local full_host_str="$1"
|
||||
full_host_str="$1"
|
||||
|
||||
i=2
|
||||
p=1
|
||||
@ -140,7 +140,7 @@ _get_root() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
_debug "Querying Linode APIv4 for hosted zone: $h"
|
||||
_debug "Querying Linode APIv4 for hosted zone: $h"
|
||||
if _H4="X-Filter: {\"domain\":\"$h\"}" _rest GET; then
|
||||
_debug "Got response from API: $response"
|
||||
response="$(echo "$response" | tr -d "\n" | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")"
|
||||
|
Loading…
x
Reference in New Issue
Block a user