diff --git a/pkg/api/podsecuritypolicy/util.go b/pkg/api/podsecuritypolicy/util.go index f31499a090c..f6280ffe959 100644 --- a/pkg/api/podsecuritypolicy/util.go +++ b/pkg/api/podsecuritypolicy/util.go @@ -23,7 +23,7 @@ import ( ) // DropDisabledFields removes disabled fields from the pod security policy spec. -// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a od security policy spec. +// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a pod security policy spec. func DropDisabledFields(pspSpec, oldPSPSpec *policy.PodSecurityPolicySpec) { if !utilfeature.DefaultFeatureGate.Enabled(features.ProcMountType) && !allowedProcMountTypesInUse(oldPSPSpec) { pspSpec.AllowedProcMountTypes = nil