# HG changeset patch # User Link Mauve # Date 1769951395 -3600 # Node ID 00511ded133d3235ba887bb5bc2e02dee830fcff # Parent c1755a9cb5f8beb264149c895dd793ccc625948a mod_prometheus: Use util.time instead of prosody.util.time, for 0.12 compatibility diff -r c1755a9cb5f8 -r 00511ded133d mod_prometheus/mod_prometheus.lua --- 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;