coredns plugin -- give out to browser last entries from querylog file, not first
This commit is contained in:
parent
4984c55bce
commit
5533b434da
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user