aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/symbols_cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index b5684efac..fec045e19 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -760,9 +760,11 @@ validate_cache (struct symbols_cache *cache,
}
if (!res) {
msg_warn (
- "symbol '%s' is registered in metric but not found in cache",
+ "symbol '%s' has its score defined but there is no "
+ "corresponding rule registered",
cur->data);
if (strict) {
+ g_list_free (metric_symbols);
return FALSE;
}
}