KObjSlice: nil entry printed as "" #409
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
/kind bug
What steps did you take and what happened:
I added a test in https://github.com/kubernetes/kubernetes/pull/125699/files
*NodeInfo
implementsklog.KMetadata
. The first slice entry is passed toklog.KObj
which detects the nil value and turns it into an emptyObjectRef{}
. That then gets printed as""
in the array.What did you expect to happen:
Some kind of indicator that the first entry is nil.
The text was updated successfully, but these errors were encountered: