Merge pull request #102829 from snowplayfire/update-devicemanager

Add resource capacity to ListAndWatch grpc logging
This commit is contained in:
Kubernetes Prow Robot
2021-06-21 16:28:09 -07:00
committed by GitHub

View File

@@ -109,7 +109,7 @@ func (e *endpointImpl) run() {
}
devs := response.Devices
klog.V(2).InfoS("State pushed for device plugin", "resourceName", e.resourceName)
klog.V(2).InfoS("State pushed for device plugin", "resourceName", e.resourceName, "resourceCapacity", len(devs))
var newDevs []pluginapi.Device
for _, d := range devs {