mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-26 12:02:34 +00:00
fix spelling error in comment and log
This commit is contained in:
parent
c7ffecfb05
commit
e657703346
@ -314,7 +314,7 @@ func TestDropAlphaVolumeDevices(t *testing.T) {
|
|||||||
t.Error("VolumeDevices in Container should not have been dropped based on feature-gate")
|
t.Error("VolumeDevices in Container should not have been dropped based on feature-gate")
|
||||||
}
|
}
|
||||||
if testPod.Spec.InitContainers[0].VolumeDevices == nil {
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ type Controller struct {
|
|||||||
queue workqueue.RateLimitingInterface
|
queue workqueue.RateLimitingInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPVCProtectionController returns a new *{VCProtectionController.
|
// NewPVCProtectionController returns a new instance of PVCProtectionController.
|
||||||
func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface) *Controller {
|
func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface) *Controller {
|
||||||
e := &Controller{
|
e := &Controller{
|
||||||
client: cl,
|
client: cl,
|
||||||
|
Loading…
Reference in New Issue
Block a user