forked from golang/glog
-
Notifications
You must be signed in to change notification settings - Fork 225
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
/kind feature
Describe the solution you'd like
When the value in a key/value pair is a slice like []*v1.Pod
, klog currently formats the slice with the fallback fmt.Sprintf("%+v", ...)
which then results in a list of pointer values ([0xc000dce900]
) which is often not useful. I would find it more useful to get a dump of the objects that are pointed to.
There are probably other cases like this, but list of objects is the one I have seen myself a few times.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.