Gets rid of zero-value initializer.
This commit is contained in:
parent
77b803c12b
commit
9ead18dbbb
|
@ -60,7 +60,6 @@ func NewTombstoneGC(ttl, granularity time.Duration) (*TombstoneGC, error) {
|
||||||
t := &TombstoneGC{
|
t := &TombstoneGC{
|
||||||
ttl: ttl,
|
ttl: ttl,
|
||||||
granularity: granularity,
|
granularity: granularity,
|
||||||
enabled: false,
|
|
||||||
expires: make(map[time.Time]*expireInterval),
|
expires: make(map[time.Time]*expireInterval),
|
||||||
expireCh: make(chan uint64, 1),
|
expireCh: make(chan uint64, 1),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue