Unverified Commit 0ae403d7 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #57536 from linyouchong/linyouchong-20171222

Automatic merge from submit-queue (batch tested with PRs 57536, 63812). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix spelling error in comment
parents ab180d80 c2661854
...@@ -314,7 +314,7 @@ func TestDropAlphaVolumeDevices(t *testing.T) { ...@@ -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")
} }
} }
......
...@@ -54,7 +54,7 @@ type Controller struct { ...@@ -54,7 +54,7 @@ type Controller struct {
storageObjectInUseProtectionEnabled bool 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 { func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface, storageObjectInUseProtectionFeatureEnabled bool) *Controller {
e := &Controller{ e := &Controller{
client: cl, client: cl,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment