From 7d83daef46d720657735aabf170dd64f7bf67058 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 21 Nov 2024 13:23:18 +0100 Subject: [PATCH] technitium: fix status code handling (#2357) --- providers/dns/technitium/internal/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/technitium/internal/client.go b/providers/dns/technitium/internal/client.go index 312892e5ac..a68008d34d 100644 --- a/providers/dns/technitium/internal/client.go +++ b/providers/dns/technitium/internal/client.go @@ -103,7 +103,7 @@ func (c *Client) do(req *http.Request, result any) error { defer func() { _ = resp.Body.Close() }() - if resp.StatusCode > http.StatusBadRequest { + if resp.StatusCode >= http.StatusBadRequest { return parseError(req, resp) }