mod_prometheus: Revert part of previous commit
Accidentally added one too many of these asserts when adding to every
module that used get_stats.
This one does work with openmetrics already!
--- a/mod_prometheus/mod_prometheus.lua Sat Jun 19 12:55:14 2021 +0200
+++ b/mod_prometheus/mod_prometheus.lua Sun Jun 20 13:54:23 2021 +0200
@@ -17,8 +17,6 @@
local get_metric_registry = statsman.get_metric_registry;
local collect = statsman.collect;
-assert(get_stats, "not compatible with trunk based on openmetrics");
-
local function escape(text)
return text:gsub("\\", "\\\\"):gsub("\"", "\\\""):gsub("\n", "\\n");
end