DRA scheduler: update some log strings

This commit is contained in:
Patrick Ohly 2024-10-28 18:42:52 +01:00
parent bc55e82621
commit bd7ff9c4c7

View File

@ -119,7 +119,7 @@ func (a *allocatedDevices) addDevices(claim *resourceapi.ResourceClaim) {
continue
}
deviceID := structured.MakeDeviceID(result.Driver, result.Pool, result.Device)
a.logger.V(6).Info("Device was allocated", "device", deviceID, "claim", klog.KObj(claim))
a.logger.V(6).Info("Observed device allocation", "device", deviceID, "claim", klog.KObj(claim))
deviceIDs = append(deviceIDs, deviceID)
}
@ -146,7 +146,7 @@ func (a *allocatedDevices) removeDevices(claim *resourceapi.ResourceClaim) {
continue
}
deviceID := structured.MakeDeviceID(result.Driver, result.Pool, result.Device)
a.logger.V(6).Info("Device was deallocated", "device", deviceID, "claim", klog.KObj(claim))
a.logger.V(6).Info("Observed device deallocation", "device", deviceID, "claim", klog.KObj(claim))
deviceIDs = append(deviceIDs, deviceID)
}