File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
pkg/types/defaults/validation Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -35,32 +35,5 @@ func GatedFeatures(c *types.InstallConfig) []featuregates.GatedInstallConfigFeat
3535 }(),
3636 Field : field .NewPath ("compute" , "diskSetup" ),
3737 },
38- {
39- FeatureGateName : features .FeatureGateNodeSwap ,
40- Condition : func () bool {
41- computeMachinePool := c .Compute
42- for _ , compute := range computeMachinePool {
43- for _ , ds := range compute .DiskSetup {
44- if ds .Type == types .Swap {
45- return true
46- }
47- }
48- }
49- return false
50- }(),
51- Field : field .NewPath ("compute" , "diskSetup" ),
52- },
53- {
54- FeatureGateName : features .FeatureGateNodeSwap ,
55- Condition : func () bool {
56- for _ , ds := range c .ControlPlane .DiskSetup {
57- if ds .Type == types .Swap {
58- return true
59- }
60- }
61- return false
62- }(),
63- Field : field .NewPath ("controlPlane" , "diskSetup" ),
64- },
6538 }
6639}
You can’t perform that action at this time.
0 commit comments