diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-11 19:07:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-11 19:07:38 +0200 |
commit | 5251c9b686fc7885c1213cc2580d66ebda2dda9b (patch) | |
tree | 96f83b3f1c7bcbefa7d7ed15800a52812a136f54 /util/openmetrics.lua | |
parent | d055a704d84e5a0ddbd0e31c7a8e19ef75a49952 (diff) | |
download | prosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.tar.gz prosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.zip |
compat: Remove handling of Lua 5.1 location of 'unpack' function
Diffstat (limited to 'util/openmetrics.lua')
-rw-r--r-- | util/openmetrics.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/openmetrics.lua b/util/openmetrics.lua index 634f9de1..f451e504 100644 --- a/util/openmetrics.lua +++ b/util/openmetrics.lua @@ -26,7 +26,7 @@ local log = require "util.logger".init("util.openmetrics"); local new_multitable = require "util.multitable".new; local iter_multitable = require "util.multitable".iter; local t_concat, t_insert = table.concat, table.insert; -local t_pack, t_unpack = require "util.table".pack, table.unpack or unpack; --luacheck: ignore 113/unpack +local t_pack, t_unpack = require "util.table".pack, table.unpack; -- BEGIN of Utility: "metric proxy" -- This allows to wrap a MetricFamily in a proxy which only provides the |