mirror of
https://github.com/containers/podman.git
synced 2025-10-15 10:16:28 +08:00
Fixup issues found by golint
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -257,7 +257,7 @@ func (t *IdleTracker) ConnState(conn net.Conn, state http.ConnState) {
|
||||
if oldActive == 0 {
|
||||
t.timer.Stop()
|
||||
}
|
||||
t.total += 1
|
||||
t.total++
|
||||
case http.StateIdle, http.StateClosed:
|
||||
delete(t.active, conn)
|
||||
// Restart the timer if we've become idle
|
||||
|
Reference in New Issue
Block a user