coredns plugin -- give out to browser last entries from querylog file, not first
This commit is contained in:
parent
4984c55bce
commit
5533b434da
coredns_plugin
|
@ -250,9 +250,6 @@ func appendFromLogFile(values []logEntry, maxLen int, timeWindow time.Duration)
|
|||
}
|
||||
|
||||
needMore := func() bool {
|
||||
if len(a) >= maxLen {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue