From 2cd16f811b4c229053a70867cecd4730a64f9c60 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 15 Apr 2024 23:30:08 +0200 Subject: [PATCH] chore: minor --- util/logstash/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/logstash/log.go b/util/logstash/log.go index f7300e3f1..1f52cc4cd 100644 --- a/util/logstash/log.go +++ b/util/logstash/log.go @@ -103,7 +103,7 @@ func (l *logger) All(areas []string, level jww.Threshold, count int) []string { } } - if count > 0 && len(res) >= count { + if count > 0 && len(res) > count { res = res[len(res)-count:] }