Skip to content

Commit a0c541b

Browse files
ivanvck8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
Fix deprecation comments in server/features
Signed-off-by: Ivan Valdes <[email protected]>
1 parent 66c533d commit a0c541b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/features/etcd_features.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ const (
6767
LeaseCheckpoint featuregate.Feature = "LeaseCheckpoint"
6868
// LeaseCheckpointPersist enables persisting remainingTTL to prevent indefinite auto-renewal of long lived leases. Always enabled in v3.6. Should be used to ensure smooth upgrade from v3.5 clusters with this feature enabled.
6969
// Requires EnableLeaseCheckpoint featuragate to be enabled.
70-
// Deprecated in v3.6.
7170
// TODO: Delete in v3.7
7271
// owner: @serathius
7372
// alpha: v3.6
7473
// main PR: https://github.com/etcd-io/etcd/pull/13508
74+
// Deprecated: Enabled by default in v3.6, to be removed in v3.7.
7575
LeaseCheckpointPersist featuregate.Feature = "LeaseCheckpointPersist"
7676
)
7777

@@ -87,7 +87,7 @@ var (
8787
}
8888
// ExperimentalFlagToFeatureMap is the map from the cmd line flags of experimental features
8989
// to their corresponding feature gates.
90-
// Deprecated: only add existing experimental features here. DO NOT use for new features.
90+
// Deprecated: Only add existing experimental features here. DO NOT use for new features.
9191
ExperimentalFlagToFeatureMap = map[string]featuregate.Feature{
9292
"experimental-stop-grpc-service-on-defrag": StopGRPCServiceOnDefrag,
9393
"experimental-initial-corrupt-check": InitialCorruptCheck,

0 commit comments

Comments
 (0)