From 4005ceb1e5cfc01d67f14cbde911290d17cf2406 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Tue, 16 Feb 2021 01:50:04 +0900 Subject: [PATCH] Fix typo in empty_dir.go assigment -> assignment --- pkg/volume/emptydir/empty_dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/volume/emptydir/empty_dir.go b/pkg/volume/emptydir/empty_dir.go index c21160e8859..9497e4645fa 100644 --- a/pkg/volume/emptydir/empty_dir.go +++ b/pkg/volume/emptydir/empty_dir.go @@ -122,7 +122,7 @@ func calculateEmptyDirMemorySize(nodeAllocatableMemory *resource.Quantity, spec zero := resource.MustParse("0") // determine pod resource allocation - // we use the same function for pod cgroup assigment to maintain consistent behavior + // we use the same function for pod cgroup assignment to maintain consistent behavior // NOTE: this could be nil on systems that do not support pod memory containment (i.e. windows) podResourceConfig := cm.ResourceConfigForPod(pod, false, uint64(100000)) if podResourceConfig != nil && podResourceConfig.Memory != nil {