diff options
| author | Bai Jie <2063169+bai-jie@users.noreply.github.com> | 2023-06-18 15:14:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 00:14:14 -0700 |
| commit | 3b88ab42aa274b6ef9a5d56243a6881c14713ec8 (patch) | |
| tree | f6bd7e391b861d053e66e231ed530fb4b5ea4e4b | |
| parent | 44b9d72ef0ac883d382a54cd7a188e3c20870db8 (diff) | |
| download | seaweedfs-3b88ab42aa274b6ef9a5d56243a6881c14713ec8.tar.xz seaweedfs-3b88ab42aa274b6ef9a5d56243a6881c14713ec8.zip | |
remove duplicate `fileCount` query (#4588)
| -rw-r--r-- | weed/storage/volume.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/storage/volume.go b/weed/storage/volume.go index b1f5e6c12..0fea68015 100644 --- a/weed/storage/volume.go +++ b/weed/storage/volume.go @@ -310,7 +310,6 @@ func (v *Volume) collectStatus() (maxFileKey types.NeedleId, datFileSize int64, fileCount = uint64(v.nm.FileCount()) deletedCount = uint64(v.nm.DeletedCount()) deletedSize = v.nm.DeletedSize() - fileCount = uint64(v.nm.FileCount()) return } |
