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 }