Skip to content

Commit 748a57d

Browse files
authored
Merge pull request #1185 from uniemimu/loglisterror
gpu: log errors from pod listing
2 parents e6cccad + 41b7b55 commit 748a57d

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)