Skip to content

Commit 7614e33

Browse files
authored
Merge pull request kubernetes#94891 from iotty/fix.typo
[pkg/api/podsecuritypolicy]: fixup typo
2 parents 8eda21e + 9a960fb commit 7614e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/podsecuritypolicy/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
)
2424

2525
// DropDisabledFields removes disabled fields from the pod security policy spec.
26-
// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a od security policy spec.
26+
// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a pod security policy spec.
2727
func DropDisabledFields(pspSpec, oldPSPSpec *policy.PodSecurityPolicySpec) {
2828
if !utilfeature.DefaultFeatureGate.Enabled(features.ProcMountType) && !allowedProcMountTypesInUse(oldPSPSpec) {
2929
pspSpec.AllowedProcMountTypes = nil

0 commit comments

Comments
 (0)