mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
fix typo in resource_allocation.go
This commit is contained in:
parent
5911f87dad
commit
64b40b5f48
@ -45,7 +45,7 @@ func (r *ResourceAllocationPriority) PriorityMap(
|
|||||||
if priorityMeta, ok := meta.(*priorityMetadata); ok {
|
if priorityMeta, ok := meta.(*priorityMetadata); ok {
|
||||||
requested = *priorityMeta.nonZeroRequest
|
requested = *priorityMeta.nonZeroRequest
|
||||||
} else {
|
} else {
|
||||||
// We couldn't parse metadatat - fallback to computing it.
|
// We couldn't parse metadata - fallback to computing it.
|
||||||
requested = *getNonZeroRequests(pod)
|
requested = *getNonZeroRequests(pod)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user