From 5533b434dac98ba610028ca98327992d18078da0 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Wed, 10 Oct 2018 00:23:15 +0300 Subject: [PATCH] coredns plugin -- give out to browser last entries from querylog file, not first --- coredns_plugin/querylog_file.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/coredns_plugin/querylog_file.go b/coredns_plugin/querylog_file.go index 72cd4d32..932dc105 100644 --- a/coredns_plugin/querylog_file.go +++ b/coredns_plugin/querylog_file.go @@ -250,9 +250,6 @@ func appendFromLogFile(values []logEntry, maxLen int, timeWindow time.Duration) } needMore := func() bool { - if len(a) >= maxLen { - return false - } return true }