mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 03:18:57 +00:00
Raise verbosity of EncoderWithAllocator log
This commit is contained in:
@@ -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 %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) {
|
switch obj := obj.(type) {
|
||||||
|
Reference in New Issue
Block a user