Merge pull request #108359 from ArangoGutierrez/devel/108355

Fix logging statement with missing parameter
This commit is contained in:
Kubernetes Prow Robot
2022-03-16 06:31:49 -07:00
committed by GitHub

View File

@@ -222,7 +222,7 @@ func (c *codec) doEncode(obj runtime.Object, w io.Writer, memAlloc runtime.Memor
return encoder.EncodeWithAllocator(obj, w, memAlloc) return encoder.EncodeWithAllocator(obj, w, memAlloc)
} }
} else { } else {
klog.V(4).Infof("a memory allocator was provided but the encoder %T doesn't implement the runtime.EncoderWithAllocator, using regular encoder.Encode method") klog.V(4).Infof("a memory allocator was provided but the encoder %s doesn't implement the runtime.EncoderWithAllocator, using regular encoder.Encode method", c.encoder.Identifier())
} }
} }
switch obj := obj.(type) { switch obj := obj.(type) {