coredns plugin -- give out to browser last entries from querylog file, not first

This commit is contained in:
Eugene Bujak 2018-10-10 00:23:15 +03:00
parent 4984c55bce
commit 5533b434da

View File

@ -250,9 +250,6 @@ func appendFromLogFile(values []logEntry, maxLen int, timeWindow time.Duration)
} }
needMore := func() bool { needMore := func() bool {
if len(a) >= maxLen {
return false
}
return true return true
} }