mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_admin_shell: Fix traceback on rendering graph of stats without extra labels
Stops an error when extra_labels is nil since it attempts to index it Unsure about correctness
This commit is contained in:
parent
d9f7b26328
commit
46ad556ca0
1 changed files with 1 additions and 1 deletions
|
@ -1653,7 +1653,7 @@ function stats_methods:render_single_fancy_histogram_ex(print, prefix, metric_fa
|
|||
sum = value
|
||||
elseif suffix == "_count" then
|
||||
count = value
|
||||
else
|
||||
elseif extra_labels then
|
||||
local bucket_threshold = extra_labels["le"]
|
||||
local bucket_count
|
||||
if cumulative then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue