diff --git a/docker/body_reader.go b/docker/body_reader.go index 29d3b0420..e69e21ef7 100644 --- a/docker/body_reader.go +++ b/docker/body_reader.go @@ -197,7 +197,7 @@ func (br *bodyReader) Read(p []byte) (int, error) { consumedBody = true br.body = res.Body br.lastRetryOffset = br.offset - br.lastRetryTime = time.Time{} + br.lastRetryTime = time.Now() return n, nil default: