add debug
This commit is contained in:
parent
84df1271aa
commit
a171f279db
1 changed files with 7 additions and 2 deletions
|
@ -68,9 +68,14 @@ class OvhDnsEnsure:
|
|||
)
|
||||
self._log.debug(result)
|
||||
elif self.current_state == 'different':
|
||||
count = 0
|
||||
count = 1
|
||||
for record in self.records:
|
||||
if count > 0:
|
||||
self._log.debug(
|
||||
"Processing existing record %s of %s...",
|
||||
count,
|
||||
len(self.records)
|
||||
)
|
||||
if count > 1:
|
||||
if not self.config['dummy']:
|
||||
self._log.debug(
|
||||
'Deleting record %s',
|
||||
|
|
Loading…
Reference in a new issue