mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
core.statsmanager: Ignore unused variable [luacheck]
This commit is contained in:
parent
c4c6a44c30
commit
83c028be30
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ if stats then
|
|||
if stats.get_stats then
|
||||
changed_stats, stats_extra = {}, {};
|
||||
for stat_name, getter in pairs(stats.get_stats()) do
|
||||
-- luacheck: ignore 211/type
|
||||
local type, value, extra = getter();
|
||||
local old_value = latest_stats[stat_name];
|
||||
latest_stats[stat_name] = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue