racitup 3 лет назад
Родитель
Сommit
f46ee93597
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      dnsapi/dns_mythic_beasts.sh

+ 2 - 2
dnsapi/dns_mythic_beasts.sh

@@ -166,8 +166,8 @@ _initAuth() {
 # authentication. This works arounds this by using an undocumented MB API to obtain a token not tied to an
 # IP just for the github tests.
 _oauth2() {
-  _info "$(printenv)"
-  if [ -z "$TEST_DNS_SLEEP" ]; then
+  _info "DOMAIN: $TEST_DNS"
+  if [ "$TEST_DNS" != "dns_mythic_beasts" ]; then
     _oauth2_std
   else
     _oauth2_github