diff mod_http_stats_stream/mod_http_stats_stream.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 740870196b97
children
line wrap: on
line diff
--- a/mod_http_stats_stream/mod_http_stats_stream.lua	Wed Jun 16 17:32:43 2021 +0200
+++ b/mod_http_stats_stream/mod_http_stats_stream.lua	Sat Jun 19 12:55:14 2021 +0200
@@ -4,6 +4,8 @@
 local http = require "net.http.server";
 local json = require "util.json";
 
+assert(statsman.get_stats, "not compatible with trunk based on openmetrics");
+
 local sessions = {};
 
 local function updates_client_closed(response)