Browse Source

remove duplicate `fileCount` query (#4588)

pull/4590/head
Bai Jie 2 years ago
committed by GitHub
parent
commit
3b88ab42aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/storage/volume.go

1
weed/storage/volume.go

@ -310,7 +310,6 @@ func (v *Volume) collectStatus() (maxFileKey types.NeedleId, datFileSize int64,
fileCount = uint64(v.nm.FileCount()) fileCount = uint64(v.nm.FileCount())
deletedCount = uint64(v.nm.DeletedCount()) deletedCount = uint64(v.nm.DeletedCount())
deletedSize = v.nm.DeletedSize() deletedSize = v.nm.DeletedSize()
fileCount = uint64(v.nm.FileCount())
return return
} }

Loading…
Cancel
Save