Skip to content

Commit bd7ff9c

Browse files
committed
DRA scheduler: update some log strings
1 parent bc55e82 commit bd7ff9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/framework/plugins/dynamicresources/allocateddevices.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (a *allocatedDevices) addDevices(claim *resourceapi.ResourceClaim) {
119119
continue
120120
}
121121
deviceID := structured.MakeDeviceID(result.Driver, result.Pool, result.Device)
122-
a.logger.V(6).Info("Device was allocated", "device", deviceID, "claim", klog.KObj(claim))
122+
a.logger.V(6).Info("Observed device allocation", "device", deviceID, "claim", klog.KObj(claim))
123123
deviceIDs = append(deviceIDs, deviceID)
124124
}
125125

@@ -146,7 +146,7 @@ func (a *allocatedDevices) removeDevices(claim *resourceapi.ResourceClaim) {
146146
continue
147147
}
148148
deviceID := structured.MakeDeviceID(result.Driver, result.Pool, result.Device)
149-
a.logger.V(6).Info("Device was deallocated", "device", deviceID, "claim", klog.KObj(claim))
149+
a.logger.V(6).Info("Observed device deallocation", "device", deviceID, "claim", klog.KObj(claim))
150150
deviceIDs = append(deviceIDs, deviceID)
151151
}
152152

0 commit comments

Comments
 (0)