From 034cd27da0f7ed25336c2cee58f652d738c31ade Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 9 Jan 2025 17:57:32 +0100 Subject: [PATCH] pkg/ioutils: remove deprecated NopFlusher Signed-off-by: Sebastiaan van Stijn --- pkg/ioutils/writers.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/ioutils/writers.go b/pkg/ioutils/writers.go index 34d3e4a366..bed7c8807e 100644 --- a/pkg/ioutils/writers.go +++ b/pkg/ioutils/writers.go @@ -23,11 +23,6 @@ func NopWriteCloser(w io.Writer) io.WriteCloser { return &nopWriteCloser{w} } -// NopFlusher represents a type which flush operation is nop. -// -// Deprecated: NopFlusher is only used internally and will be removed in the next release. -type NopFlusher = nopFlusher - type writeCloserWrapper struct { io.Writer closer func() error