feat: cleanup feature gates for CSIPersistentVolume

This commit is contained in:
draveness
2019-06-23 16:46:49 +08:00
parent 8c3b7d7679
commit 8e9472ba79
10 changed files with 36 additions and 88 deletions

View File

@@ -2037,8 +2037,6 @@ func TestValidateCSIVolumeSource(t *testing.T) {
},
}
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.CSIPersistentVolume, true)()
for i, tc := range testCases {
errs := validateCSIPersistentVolumeSource(tc.csi, field.NewPath("field"))