dns_ovh: fix random add/remove txt records failures

due to inconsistent curl api response json
This commit is contained in:
Ivanovitch_k committed 2021-07-22 00:24:11 +02:00
1 parent 103810ce20
commit 63165764dc
1 file changed
+3 -1
+3 -1
View File
@@ -261,7 +261,9 @@ _get_root() {
return 1
fi
if ! _contains "$response" "This service does not exist" >/dev/null && ! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
if ! _contains "$response" "This service does not exist" >/dev/null && \
! _contains "$response" "This call has not been granted" >/dev/null && \
! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain="$h"
return 0
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.