add info for possible failed listAndWatch grpc call

This commit is contained in:
jingxueli 2021-06-12 13:31:07 +08:00
parent fddb3adcfd
commit 45d18acbcc

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 {