From 9a960fb1f410e5b078a61150a2704a24d2408905 Mon Sep 17 00:00:00 2001 From: Zhou Peng Date: Fri, 18 Sep 2020 20:52:52 +0800 Subject: [PATCH] [pkg/api/podsecuritypolicy]: fixup typo Signed-off-by: Zhou Peng --- pkg/api/podsecuritypolicy/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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