Skip to content

Commit 08246f7

Browse files
authored
Merge pull request #6567 from vmichelin/dev
fix #6555 : ovh dns api enable to remove record
2 parents c377ec6 + 25c564b commit 08246f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnsapi/dns_ovh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ dns_ovh_rm() {
201201
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
202202
return 1
203203
fi
204-
if _contains "$response" "\"target\":\"$txtvalue\""; then
204+
if _contains "$response" "$txtvalue"; then
205205
_debug "Found txt id:$rid"
206206
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
207207
return 1

0 commit comments

Comments
 (0)