Skip to content

Commit

Permalink
metrics: fix size map
Browse files Browse the repository at this point in the history
  • Loading branch information
criyle committed Apr 18, 2021
1 parent ba8d392 commit 6a9a2c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/executorserver/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func (m *metricsFileStore) Remove(id string) bool {
if !ok {
return success
}
delete(m.fileSize, id)

sf := float64(s)
fsTotalSize.Sub(sf)
Expand Down

0 comments on commit 6a9a2c6

Please sign in to comment.