mirror of
https://github.com/moby/moby.git
synced 2026-07-12 18:45:06 +00:00
pkg/pools/pools_test.go:100:18: avoid allocations with (*bufio.Writer).WriteString (mirror)
written, err := writer.Write([]byte("foobar"))
^
pkg/pools/pools_test.go:112:14: avoid allocations with (*bufio.Writer).WriteString (mirror)
if _, err = writer.Write([]byte("barfoo")); err != nil {
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>