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 @@ -62,12 +62,12 @@ const (
62
62
// alpha: v0.8.0
63
63
StreamHandlePaginatedListForResourceSync featuregate.Feature = "StreamHandlePaginatedListForResourceSync"
64
64
65
- // IgnoreLeaseSync is a feature gate for the ClusterSynchro to skip syncing leases.coordination.k8s.io,
65
+ // IgnoreSyncLease is a feature gate for the ClusterSynchro to skip syncing leases.coordination.k8s.io,
66
66
// if you enable this feature, these resources will not be synced no matter what `syncResources` are defined.
67
67
//
68
68
// owner: @27149chen
69
69
// alpha: v0.8.0
70
- IgnoreLeaseSync featuregate.Feature = "IgnoreLeaseSync "
70
+ IgnoreSyncLease featuregate.Feature = "IgnoreSyncLease "
71
71
)
72
72
73
73
func init () {
@@ -85,5 +85,5 @@ var defaultClusterSynchroManagerFeatureGates = map[featuregate.Feature]featurega
85
85
86
86
ForcePaginatedListForResourceSync : {Default : false , PreRelease : featuregate .Alpha },
87
87
StreamHandlePaginatedListForResourceSync : {Default : false , PreRelease : featuregate .Alpha },
88
- IgnoreLeaseSync : {Default : false , PreRelease : featuregate .Alpha },
88
+ IgnoreSyncLease : {Default : false , PreRelease : featuregate .Alpha },
89
89
}
You can’t perform that action at this time.
0 commit comments