mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Loggger: Use warning instead of warn - dns plugin
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
78c5bf9f8e
commit
ddf2c813b4
@ -3438,7 +3438,7 @@ class dnsrecord(LDAPObject):
|
|||||||
|
|
||||||
while attempt < max_attempts:
|
while attempt < max_attempts:
|
||||||
if attempt >= warn_attempts:
|
if attempt >= warn_attempts:
|
||||||
log_fn = self.log.warn
|
log_fn = self.log.warning
|
||||||
attempt += 1
|
attempt += 1
|
||||||
try:
|
try:
|
||||||
dns_answer = resolver.query(dns_name, rdtype,
|
dns_answer = resolver.query(dns_name, rdtype,
|
||||||
|
Loading…
Reference in New Issue
Block a user