Mercurial > prosody-modules
changeset 6393:00511ded133d
mod_prometheus: Use util.time instead of prosody.util.time, for 0.12 compatibility
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 01 Feb 2026 14:09:55 +0100 |
| parents | c1755a9cb5f8 |
| children | 750a88ada88e |
| files | mod_prometheus/mod_prometheus.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_prometheus/mod_prometheus.lua Sun Feb 01 14:09:49 2026 +0100 +++ b/mod_prometheus/mod_prometheus.lua Sun Feb 01 14:09:55 2026 +0100 @@ -11,7 +11,7 @@ local tostring = tostring; local t_insert = table.insert; local t_concat = table.concat; -local time_now = require "prosody.util.time".now; +local time_now = require "util.time".now; local statsman = require "core.statsmanager"; local get_stats = statsman.get_stats; local get_metric_registry = statsman.get_metric_registry;
