mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
Do not clear unbound stats when querying them
This commit is contained in:
parent
8c52aa1964
commit
6debd169da
@ -76,7 +76,7 @@ elif args.infra:
|
||||
output.append(record)
|
||||
elif args.stats:
|
||||
output = dict()
|
||||
for line in unbound_control_reader('stats'):
|
||||
for line in unbound_control_reader('stats_noreset'):
|
||||
full_key, value = line.split('=')
|
||||
keys = full_key.split('.')
|
||||
if keys[0] == 'histogram':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user