mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Replace dnspython resolver.query with resolver.resolve
The resolver.query() has been deprecated in favor of resolver.resolve(); used that. This is an omission from 3b1756d45012a66f08693c17145a8484ec68bd47
This commit is contained in:
parent
836e6ed284
commit
dee49b7a1f
@ -95,7 +95,7 @@ def do_work(named_proc, resolver, rndc_cmd, kill_method, n_workers, n_queries):
|
|||||||
)
|
)
|
||||||
|
|
||||||
qname = relname + ".test"
|
qname = relname + ".test"
|
||||||
futures[executor.submit(resolver.query, qname, "A")] = tag
|
futures[executor.submit(resolver.resolve, qname, "A")] = tag
|
||||||
elif shutdown: # We attempt to stop named in the middle
|
elif shutdown: # We attempt to stop named in the middle
|
||||||
shutdown = False
|
shutdown = False
|
||||||
if kill_method == "rndc":
|
if kill_method == "rndc":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user