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
1 changed files with 0 additions and 3 deletions
coredns_plugin

View File

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