Make Qos naming consistent across the codebase

This commit is contained in:
Buddha Prakash
2016-06-26 16:08:18 -07:00
parent ff7c280200
commit 4acb64f8bd
9 changed files with 22 additions and 22 deletions

View File

@@ -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)
}
}