Skip to content

Commit

Permalink
test DNS for v1 (legacy) 003
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Alexeev committed Apr 30, 2024
1 parent 2e3c1ef commit 8bb29f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_selectel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ _sl_init_vars() {
# version API
SL_Ver="${SL_Ver:-$(_readaccountconf_mutable SL_Ver)}"
if [ -z "$SL_Ver" ]; then
SL_Ver="v2"
SL_Ver="v1"
fi
if ! [ "$SL_Ver" = "v1" ] && ! [ "$SL_Ver" = "v2" ]; then
_err "You don't specify selectel.ru API version."
Expand Down

0 comments on commit 8bb29f5

Please sign in to comment.