Spotted after Brad showed me this utility in #15806. Updates #cleanup Signed-off-by: James Tucker <[email protected]>
@@ -323,6 +323,7 @@ func (fn ArgWriter) Format(f fmt.State, _ rune) {
bw.Reset(f)
fn(bw)
bw.Flush()
+ bw.Reset(io.Discard)
argBufioPool.Put(bw)
}