mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
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.
This commit is contained in:
parent
e85d3babf0
commit
cf68eb575e
@ -208,7 +208,7 @@ func (a *Allocator) Allocate(ctx context.Context, node *v1.Node) (finalResult []
|
||||
alloc.requestData[requestIndices{claimIndex: claimIndex, requestIndex: requestIndex}] = requestData
|
||||
numDevices += requestData.numDevices
|
||||
}
|
||||
alloc.logger.Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices)
|
||||
alloc.logger.V(6).Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices)
|
||||
|
||||
// Check that we don't end up with too many results.
|
||||
if numDevices > resourceapi.AllocationResultsMaxSize {
|
||||
|
Loading…
Reference in New Issue
Block a user