From 84df1271aaf50a748bf1dceabc2292e6defa645a Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 5 May 2025 14:53:53 +0300 Subject: [PATCH] get differnet types too --- ovh_dns_ensure/ovh_dns_ensure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ovh_dns_ensure/ovh_dns_ensure.py b/ovh_dns_ensure/ovh_dns_ensure.py index b58d4e1..002a854 100755 --- a/ovh_dns_ensure/ovh_dns_ensure.py +++ b/ovh_dns_ensure/ovh_dns_ensure.py @@ -95,12 +95,12 @@ class OvhDnsEnsure: def _get_current_state(self): params = { - "fieldType": self.config['type'], + # "fieldType": self.config['type'], "subDomain": self.config['subdomain'] } self._log.debug( - "Getting all records with type '%s' and subdomain '%s'...", - self.config['type'], + "Getting all records with subdomain '%s'...", + # self.config['type'], self.config['subdomain'] ) self.records = self.ovh.get(f"/domain/zone/{self.config['zone']}/record", **params)