mirror of
https://github.com/containers/skopeo.git
synced 2025-09-11 03:29:43 +00:00
Update c/image after https://github.com/containers/image/pull/2408
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
3
vendor/github.com/go-openapi/runtime/client/keepalive.go
generated
vendored
3
vendor/github.com/go-openapi/runtime/client/keepalive.go
generated
vendored
@@ -48,8 +48,7 @@ func (d *drainingReadCloser) Close() error {
|
||||
// If the reader side (a HTTP server) is misbehaving, it still may send
|
||||
// some bytes, but the closer ignores them to keep the underling
|
||||
// connection open.
|
||||
//nolint:errcheck
|
||||
io.Copy(io.Discard, d.rdr)
|
||||
_, _ = io.Copy(io.Discard, d.rdr)
|
||||
}
|
||||
return d.rdr.Close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user