Skip to content

Commit cf68eb5

Browse files
committed
DRA scheduler: reduce verbosity of "Checked claim"
The original usage of `Allocate` was that the caller determines verbosity by passing a logger with increased verbosity threshold into the call. Later that was changed to using higher V levels inside `Allocated` itself, but the "Checked claim" log call slipped through.
1 parent e85d3ba commit cf68eb5

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/dynamic-resource-allocation/structured

1 file changed

+1
-1
lines changed

staging/src/k8s.io/dynamic-resource-allocation/structured/allocator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func (a *Allocator) Allocate(ctx context.Context, node *v1.Node) (finalResult []
208208
alloc.requestData[requestIndices{claimIndex: claimIndex, requestIndex: requestIndex}] = requestData
209209
numDevices += requestData.numDevices
210210
}
211-
alloc.logger.Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices)
211+
alloc.logger.V(6).Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices)
212212

213213
// Check that we don't end up with too many results.
214214
if numDevices > resourceapi.AllocationResultsMaxSize {

0 commit comments

Comments
 (0)