add debug
This commit is contained in:
parent
cea2b74442
commit
da95420ecd
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,11 @@ class OvhDnsEnsure:
|
||||||
"fieldType": self.config['type'],
|
"fieldType": self.config['type'],
|
||||||
"subDomain": self.config['subdomain']
|
"subDomain": self.config['subdomain']
|
||||||
}
|
}
|
||||||
|
self._log.debug(
|
||||||
|
"Getting all records with type '%s' and subdomain '%s'...",
|
||||||
|
self.config['type'],
|
||||||
|
self.config['subdomain']
|
||||||
|
)
|
||||||
self.records = self.ovh.get(f"/domain/zone/{self.config['zone']}/record", **params)
|
self.records = self.ovh.get(f"/domain/zone/{self.config['zone']}/record", **params)
|
||||||
self.current_state = 'absent'
|
self.current_state = 'absent'
|
||||||
for record in self.records:
|
for record in self.records:
|
||||||
|
|
Loading…
Reference in a new issue