mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-10 09:37:52 +00:00
Cherry picked from commit 2e8bce201e with
additional updates required for the v4.2.0-rhel branch.
Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
Assisted by AI: Cursor <Auto>
Signed-off-by: Chris Evich <cevich@redhat.com>
9 lines
337 B
Go
9 lines
337 B
Go
package runtime
|
|
|
|
import "io"
|
|
|
|
// DiscardConsumer does absolutely nothing, it's a black hole.
|
|
var DiscardConsumer = ConsumerFunc(func(_ io.Reader, _ interface{}) error { return nil })
|
|
|
|
// DiscardProducer does absolutely nothing, it's a black hole.
|
|
var DiscardProducer = ProducerFunc(func(_ io.Writer, _ interface{}) error { return nil })
|