Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Oct 13, 2024
1 parent e0381dd commit 7031df4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion dnsapi/dns_netlify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ dns_netlify_rm() {
_err "error removing validation value ($_code)"
return 1
fi
return 0
fi
return 1
}
Expand Down
2 changes: 1 addition & 1 deletion dnsapi/dns_nw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ _get_root() {
if [ "${hostedzone}" ]; then
_zone_id=$(printf "%s\n" "${hostedzone}" | _egrep_o "\"zone_id\": *[0-9]+" | _head_n 1 | cut -d : -f 2 | tr -d \ )
if [ "${_zone_id}" ]; then
_sub_domain=$(printf "%s" "${domain}" | cut -d . -f 1-${p})
_sub_domain=$(printf "%s" "${domain}" | cut -d . -f 1-"${p}")
_domain="${h}"
return 0
fi
Expand Down
4 changes: 0 additions & 4 deletions dnsapi/dns_scaleway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ dns_scaleway_add() {
_err error "$response"
return 1
fi
_info "Record added."

return 0
}

dns_scaleway_rm() {
Expand Down Expand Up @@ -71,9 +69,7 @@ dns_scaleway_rm() {
_err error "$response"
return 1
fi
_info "Record deleted."

return 0
}

#################### Private functions below ##################################
Expand Down

0 comments on commit 7031df4

Please sign in to comment.