mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Remove the unnecessary code
Signed-off-by: JmPotato <ghzpotato@gmail.com>
This commit is contained in:
parent
0504ecdc70
commit
471a804665
@ -54,7 +54,6 @@ func newPeriodic(lg *zap.Logger, clock clockwork.Clock, h time.Duration, rg RevG
|
||||
period: h,
|
||||
rg: rg,
|
||||
c: c,
|
||||
revs: make([]int64, 0),
|
||||
}
|
||||
// revs won't be longer than the retentions.
|
||||
pc.revs = make([]int64, 0, pc.getRetentions())
|
||||
|
Loading…
x
Reference in New Issue
Block a user