Remove dead or redundant code

Signed-off-by: David Gageot <david.gageot@docker.com>
This commit is contained in:
David Gageot
2022-10-08 22:31:06 +02:00
parent ebb5ded10b
commit 39807bb0bd
12 changed files with 12 additions and 12 deletions

View File

@@ -114,7 +114,7 @@ func ringBufferHandler(ringSize, chanSize int, logCh chan logEntry, queryMsgChan
conn: msg.conn,
output: make(chan *logEntry, chanSize),
err: nil,
exitOnEOF: (msg.mode == logDump),
exitOnEOF: msg.mode == logDump,
}
go logQueryHandler(&l)
if msg.mode == logDumpFollow || msg.mode == logFollow {