From e48da052b17ee0d482a34130576bfb4402daa959 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Mon, 23 Sep 2024 14:45:59 +0200 Subject: [PATCH] actually remove old entries that are valid but overwritten --- mqtt2prom/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt2prom/run b/mqtt2prom/run index 397fbee..59bd8f7 100755 --- a/mqtt2prom/run +++ b/mqtt2prom/run @@ -392,7 +392,7 @@ function filter(): void $hash = md5($j); if (isset($used[$hash])) { unset($data[$k]); - echo "unset $k\n"; + continue; } $used[$hash] = true; }