From 9d9903565a14a9d3f3da2b24a16fa0817e80872d Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Fri, 7 Jul 2023 17:32:54 +0200 Subject: [PATCH] cri: Fix comment typos Beside the "in future the when" typo, we take the chance to reflect that user namespaces are already merged. Signed-off-by: Rodrigo Campos --- pkg/cri/sbserver/podsandbox/sandbox_run_linux.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cri/sbserver/podsandbox/sandbox_run_linux.go b/pkg/cri/sbserver/podsandbox/sandbox_run_linux.go index 576d66c79..2e7712a13 100644 --- a/pkg/cri/sbserver/podsandbox/sandbox_run_linux.go +++ b/pkg/cri/sbserver/podsandbox/sandbox_run_linux.go @@ -100,9 +100,9 @@ func (c *Controller) sandboxContainerSpec(id string, config *runtime.PodSandboxC } // Remove the default /dev/shm mount from defaultMounts, it is added in oci/mounts.go. specOpts = append(specOpts, oci.WithoutMounts(devShm)) - // In future the when user-namespace is enabled, the `nosuid, nodev, noexec` flags are - // required, otherwise the remount will fail with EPERM. Just use them unconditionally, - // they are nice to have anyways. + // When user-namespace is enabled, the `nosuid, nodev, noexec` flags are + // required, otherwise the remount will fail with EPERM. Just use them + // unconditionally, they are nice to have anyways. specOpts = append(specOpts, oci.WithMounts([]runtimespec.Mount{ { Source: sandboxDevShm,