mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
Make Qos naming consistent across the codebase
This commit is contained in:
@@ -59,7 +59,7 @@ func newPod(name string, containers []api.Container) *api.Pod {
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetPodQos(t *testing.T) {
|
||||
func TestGetPodQOS(t *testing.T) {
|
||||
testCases := []struct {
|
||||
pod *api.Pod
|
||||
expected QOSClass
|
||||
@@ -125,7 +125,7 @@ func TestGetPodQos(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, testCase := range testCases {
|
||||
if actual := GetPodQos(testCase.pod); testCase.expected != actual {
|
||||
if actual := GetPodQOS(testCase.pod); testCase.expected != actual {
|
||||
t.Errorf("invalid qos pod %s, expected: %s, actual: %s", testCase.pod.Name, testCase.expected, actual)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user