From 3b88ab42aa274b6ef9a5d56243a6881c14713ec8 Mon Sep 17 00:00:00 2001 From: Bai Jie <2063169+bai-jie@users.noreply.github.com> Date: Sun, 18 Jun 2023 15:14:14 +0800 Subject: [PATCH] remove duplicate `fileCount` query (#4588) --- weed/storage/volume.go | 1 - 1 file changed, 1 deletion(-) 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 }