From bd7ff9c4c75d2b4c3c459a4d9753840289c71e76 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 28 Oct 2024 18:42:52 +0100 Subject: [PATCH] DRA scheduler: update some log strings --- .../framework/plugins/dynamicresources/allocateddevices.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/framework/plugins/dynamicresources/allocateddevices.go b/pkg/scheduler/framework/plugins/dynamicresources/allocateddevices.go index b1629c0db6c..d013244433e 100644 --- a/pkg/scheduler/framework/plugins/dynamicresources/allocateddevices.go +++ b/pkg/scheduler/framework/plugins/dynamicresources/allocateddevices.go @@ -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) }