Commit 1f8e73ba authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 5ba281e8
...@@ -85,8 +85,8 @@ def stats ...@@ -85,8 +85,8 @@ def stats
key_parts = key.split(".") key_parts = key.split(".")
if key_parts[0] == 'histogram' if key_parts[0] == 'histogram'
data['histogram'] = [] unless data['histogram'] data['histogram'] = [] unless data['histogram']
data['histogram'] << {from: key_parts[1..2].map(&:to_i), data['histogram'] << {from: key_parts[1..2].map(&:to_i),
to: key_parts[4..5].map(&:to_i), to: key_parts[4..5].map(&:to_i),
value: value.to_i} value: value.to_i}
else else
key = key_parts.pop key = key_parts.pop
......
...@@ -33,4 +33,3 @@ command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -d ...@@ -33,4 +33,3 @@ command:/usr/local/opnsense/scripts/unbound/unboundctlwrapper -d
parameters: parameters:
type:script_output type:script_output
message:list local data message:list local data
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment