diff --git a/pkg/api/pod/util_test.go b/pkg/api/pod/util_test.go index 1c7eb328fca..43ddf8aff8a 100644 --- a/pkg/api/pod/util_test.go +++ b/pkg/api/pod/util_test.go @@ -314,7 +314,7 @@ func TestDropAlphaVolumeDevices(t *testing.T) { t.Error("VolumeDevices in Container should not have been dropped based on feature-gate") } if testPod.Spec.InitContainers[0].VolumeDevices == nil { - t.Error("VolumeDevices in Container should not have been dropped based on feature-gate") + t.Error("VolumeDevices in InitContainers should not have been dropped based on feature-gate") } } diff --git a/pkg/controller/volume/pvcprotection/pvc_protection_controller.go b/pkg/controller/volume/pvcprotection/pvc_protection_controller.go index 9c580ff4ac5..8ff28cf6413 100644 --- a/pkg/controller/volume/pvcprotection/pvc_protection_controller.go +++ b/pkg/controller/volume/pvcprotection/pvc_protection_controller.go @@ -54,7 +54,7 @@ type Controller struct { storageObjectInUseProtectionEnabled bool } -// NewPVCProtectionController returns a new *{VCProtectionController. +// NewPVCProtectionController returns a new instance of PVCProtectionController. func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface, storageObjectInUseProtectionFeatureEnabled bool) *Controller { e := &Controller{ client: cl,