fix(storage): fix tracking disk bytes in memory

pull/14181/head
Tanya Gordeeva 2019-06-26 17:51:13 -07:00
parent 3ff15a8b41
commit fe4333e8e0
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ func (t *fileTracker) SetBytes(bytes map[int]uint64) {
for k, v := range bytes {
label := formatLevel(uint64(k))
sizes[label] += v
total += v
}
for k, v := range sizes {
labels["level"] = k