Fix typos

change SupportsPreemption

change comment again
This commit is contained in:
yanghaichao12
2019-02-23 03:02:11 -05:00
parent d6de0454e9
commit b475cdf7fc
3 changed files with 5 additions and 5 deletions

View File

@@ -879,7 +879,7 @@ func TestForgetPod(t *testing.T) {
}
// getResourceRequest returns the resource request of all containers in Pods;
// excuding initContainers.
// excluding initContainers.
func getResourceRequest(pod *v1.Pod) v1.ResourceList {
result := &schedulernodeinfo.Resource{}
for _, container := range pod.Spec.Containers {