aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
Diffstat (limited to 'weed')
-rw-r--r--weed/storage/volume_backup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_backup.go b/weed/storage/volume_backup.go
index e10990a9b..86d13da7a 100644
--- a/weed/storage/volume_backup.go
+++ b/weed/storage/volume_backup.go
@@ -23,7 +23,7 @@ func (v *Volume) GetVolumeSyncStatus() *volume_server_pb.VolumeSyncStatusRespons
syncStatus.TailOffset = uint64(stat.Size())
}
syncStatus.Collection = v.Collection
- syncStatus.IdxFileSize = v.IndexFileSize()
+ syncStatus.IdxFileSize = v.nm.IndexFileSize()
syncStatus.CompactRevision = uint32(v.SuperBlock.CompactionRevision)
syncStatus.Ttl = v.SuperBlock.Ttl.String()
syncStatus.Replication = v.SuperBlock.ReplicaPlacement.String()