mirror of
https://github.com/containers/podman.git
synced 2025-08-14 11:01:35 +08:00
update c/{buildah,common,image,storage} to latest main
Signed-off-by: Paul Holzinger <pholzing@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