Commit Graph

4 Commits

Author SHA1 Message Date
yuzhiquanlong
be9e1fda5e remove format pods func, instead with klog.Kobjs 2021-10-15 18:26:02 +08:00
Qi Wang
8133d29586 Refactor pods format to ObjRef slice
Refactor format.Pods to return a slice of ObjRef for structured logging.
Ref: https://github.com/kubernetes/kubernetes/pull/99029#discussion_r586785552

Signed-off-by: Qi Wang <qiwan@redhat.com>
2021-03-06 11:26:50 -05:00
Uzuku
302cda742a Handle nil pod in pod format 2020-03-20 15:30:44 +08:00
chentao1596
ce3f5002dd Add unit tests for methods of pod's format 2018-07-17 15:37:13 +08:00