Browse Source

test DNS for v1 (legacy) 003

pull/5127/head
Vladimir Alexeev 7 months ago
parent
commit
8bb29f53d1
  1. 2
      dnsapi/dns_selectel.sh

2
dnsapi/dns_selectel.sh

@ -427,7 +427,7 @@ _sl_init_vars() {
# version API # version API
SL_Ver="${SL_Ver:-$(_readaccountconf_mutable SL_Ver)}" SL_Ver="${SL_Ver:-$(_readaccountconf_mutable SL_Ver)}"
if [ -z "$SL_Ver" ]; then if [ -z "$SL_Ver" ]; then
SL_Ver="v2"
SL_Ver="v1"
fi fi
if ! [ "$SL_Ver" = "v1" ] && ! [ "$SL_Ver" = "v2" ]; then if ! [ "$SL_Ver" = "v1" ] && ! [ "$SL_Ver" = "v2" ]; then
_err "You don't specify selectel.ru API version." _err "You don't specify selectel.ru API version."

Loading…
Cancel
Save