Browse Source

fix shfmt

pull/3441/head
Yang Liu 4 years ago
parent
commit
10240eb9f0
No known key found for this signature in database GPG Key ID: F992723771B5A0FF
  1. 2
      dnsapi/dns_ali.sh

2
dnsapi/dns_ali.sh

@ -91,7 +91,7 @@ _use_instance_role() {
# **Do Not** set the parameter `onlyheadr` for _get, it will
# send a HEAD request instead of GET. And alicloud
# mata url not allow HEAD request.
if _get "$_url" "" 1 | grep '404 - Not Found' > /dev/null; then
if _get "$_url" "" 1 | grep '404 - Not Found' >/dev/null; then
_debug "Unable to fetch RAM role from instance metadata"
return 1
fi

Loading…
Cancel
Save