1
0
Fork 0

Add long-missing init call to Store stats

master
Philip O'Toole 1 year ago
parent 42fd612cf3
commit 466c757dcf

@ -110,6 +110,7 @@ func init() {
// ResetStats resets the expvar stats for this module. Mostly for test purposes.
func ResetStats() {
stats.Init()
stats.Add(numSnaphots, 0)
stats.Add(numProvides, 0)
stats.Add(numBackups, 0)

Loading…
Cancel
Save