Raise verbosity of EncoderWithAllocator log

This commit is contained in:
Jordan Liggitt 2022-03-26 01:06:39 -04:00
parent 083c3ac4e8
commit 466ddd01de

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)
}
} else {
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())
klog.V(6).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) {