File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,11 @@ func dockerSystemInfo() (dockerSysInfo, error) {
252252 var ds dockerSysInfo
253253 rawJSON , err := dockerInfoGetter ()
254254 if err != nil {
255+ klog .Warningf ("docker info: %v" , err )
255256 return ds , errors .Wrap (err , "docker system info" )
256257 }
257258 if err := json .Unmarshal ([]byte (strings .TrimSpace (rawJSON )), & ds ); err != nil {
259+ klog .Warningf ("unmarshal docker info: %v" , err )
258260 return ds , errors .Wrapf (err , "unmarshal docker system info" )
259261 }
260262
@@ -272,10 +274,12 @@ func podmanSystemInfo() (podmanSysInfo, error) {
272274 var ps podmanSysInfo
273275 rawJSON , err := podmanInfoGetter ()
274276 if err != nil {
277+ klog .Warningf ("podman info: %v" , err )
275278 return ps , errors .Wrap (err , "podman system info" )
276279 }
277280
278281 if err := json .Unmarshal ([]byte (strings .TrimSpace (rawJSON )), & ps ); err != nil {
282+ klog .Warningf ("unmarshal podman info: %v" , err )
279283 return ps , errors .Wrapf (err , "unmarshal podman system info" )
280284 }
281285 klog .Infof ("podman info: %+v" , ps )
You can’t perform that action at this time.
0 commit comments