diff mod_nodeinfo2/mod_nodeinfo2.lua @ 4595:bac3dae031ee

Add note of incompatibility with trunk since 5f15ab7c6ae5
author Kim Alvefur <zash@zash.se>
date Sat, 19 Jun 2021 12:55:14 +0200
parents aec772bbd558
children
line wrap: on
line diff
--- a/mod_nodeinfo2/mod_nodeinfo2.lua	Wed Jun 16 17:32:43 2021 +0200
+++ b/mod_nodeinfo2/mod_nodeinfo2.lua	Sat Jun 19 12:55:14 2021 +0200
@@ -5,6 +5,8 @@
 local list_users = require "core.usermanager".users;
 local os_time = os.time;
 
+assert(get_stats, "not compatible with trunk based on openmetrics");
+
 module:depends("http");
 
 local expose_users = module:get_option_boolean("nodeinfo2_expose_users", true);