Skip to content

Commit 41b7b55

Browse files
committed
gpu: log errors from pod listing
Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
1 parent 3af79e1 commit 41b7b55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/gpu_plugin/rm/gpu_plugin_resource_manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ func (rm *resourceManager) listPodsOnNodeWithState(state string) map[string]*v1.
204204
})
205205

206206
if err != nil {
207+
klog.Error("pod listing failed:", err)
208+
207209
return pods
208210
}
209211

0 commit comments

Comments
 (0)