diff --git a/pkg/namespaces/namespaces.go b/pkg/namespaces/namespaces.go index 3c0622c7d5..fa63433250 100644 --- a/pkg/namespaces/namespaces.go +++ b/pkg/namespaces/namespaces.go @@ -20,7 +20,7 @@ const ( pastaType = "pasta" ) -// KeepIDUserNsOptions defines how to keepIDmatically create a user namespace. +// KeepIDUserNsOptions defines how to create a user namespace using keep-id. type KeepIDUserNsOptions struct { // UID is the target uid in the user namespace. UID *uint32 diff --git a/pkg/specgen/namespaces.go b/pkg/specgen/namespaces.go index 689d68110c..aea39780b8 100644 --- a/pkg/specgen/namespaces.go +++ b/pkg/specgen/namespaces.go @@ -56,7 +56,7 @@ const ( // Pasta indicates that a pasta network stack should be used. // Only used with the network namespace, invalid otherwise. Pasta NamespaceMode = "pasta" - // KeepId indicates a user namespace to keep the owner uid inside + // KeepID indicates a user namespace to keep the owner uid inside // of the namespace itself. // Only used with the user namespace, invalid otherwise. KeepID NamespaceMode = "keep-id"