File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ func (negotiator *ResourceNegotiator) NegotiateSyncResources(syncResources []clu
88
88
for _ , resource := range groupResources .Resources {
89
89
syncGR := schema.GroupResource {Group : groupResources .Group , Resource : resource }
90
90
91
- if clusterpediafeature .FeatureGate .Enabled (features .IgnoreLeaseSync ) {
91
+ if clusterpediafeature .FeatureGate .Enabled (features .IgnoreSyncLease ) {
92
92
// skip leases.coordination.k8s.io
93
93
if syncGR .String () == "leases.coordination.k8s.io" {
94
94
continue
Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ const (
46
46
// alpha: v0.6.0
47
47
HealthCheckerWithStandaloneTCP featuregate.Feature = "HealthCheckerWithStandaloneTCP"
48
48
49
- // IgnoreLeaseSync is a feature gate for the ClusterSynchro to skip syncing leases.coordination.k8s.io,
49
+ // IgnoreSyncLease is a feature gate for the ClusterSynchro to skip syncing leases.coordination.k8s.io,
50
50
// if you enable this feature, these resources will not be synced no matter what `syncResources` are defined.
51
51
//
52
52
// owner: @27149chen
53
53
// alpha: v0.8.0
54
- IgnoreLeaseSync featuregate.Feature = "IgnoreLeaseSync "
54
+ IgnoreSyncLease featuregate.Feature = "IgnoreSyncLease "
55
55
)
56
56
57
57
func init () {
@@ -66,5 +66,5 @@ var defaultClusterSynchroManagerFeatureGates = map[featuregate.Feature]featurega
66
66
AllowSyncAllCustomResources : {Default : false , PreRelease : featuregate .Alpha },
67
67
AllowSyncAllResources : {Default : false , PreRelease : featuregate .Alpha },
68
68
HealthCheckerWithStandaloneTCP : {Default : false , PreRelease : featuregate .Alpha },
69
- IgnoreLeaseSync : {Default : false , PreRelease : featuregate .Alpha },
69
+ IgnoreSyncLease : {Default : false , PreRelease : featuregate .Alpha },
70
70
}
You can’t perform that action at this time.
0 commit comments