mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
staing/apimachinery: fix typo "perfer" to "prefer"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
8616687c90
commit
1adb8100ba
@ -24,7 +24,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// TestOnlyStaticRESTMapper returns a union RESTMapper of all known types with priorities chosen in the following order:
|
// TestOnlyStaticRESTMapper returns a union RESTMapper of all known types with priorities chosen in the following order:
|
||||||
// 1. legacy kube group preferred version, extensions preferred version, metrics perferred version, legacy
|
// 1. legacy kube group preferred version, extensions preferred version, metrics preferred version, legacy
|
||||||
// kube any version, extensions any version, metrics any version, all other groups alphabetical preferred version,
|
// kube any version, extensions any version, metrics any version, all other groups alphabetical preferred version,
|
||||||
// all other groups alphabetical.
|
// all other groups alphabetical.
|
||||||
// TODO callers of this method should be updated to build their own specific restmapper based on their scheme for their tests
|
// TODO callers of this method should be updated to build their own specific restmapper based on their scheme for their tests
|
||||||
|
@ -210,7 +210,6 @@ var _ = SIGDescribe("SchedulerPriorities [Serial]", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("Pod should be preferably scheduled to nodes pod can tolerate", func() {
|
It("Pod should be preferably scheduled to nodes pod can tolerate", func() {
|
||||||
|
|
||||||
// make the nodes have balanced cpu,mem usage ratio
|
// make the nodes have balanced cpu,mem usage ratio
|
||||||
err := createBalancedPodForNodes(f, cs, ns, nodeList.Items, podRequestedResource, 0.5)
|
err := createBalancedPodForNodes(f, cs, ns, nodeList.Items, podRequestedResource, 0.5)
|
||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user