aboutsummaryrefslogtreecommitdiff
path: root/weed/server
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-10 23:39:53 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-10 23:39:53 -0700
commit0e33272f569470fd974ef913e501a05371107390 (patch)
treea5e7adff50ec5d4e1c8e1df029e49e42888747bb /weed/server
parentcb2061f86aeabe298211625ee7ad5a2f7907a2c2 (diff)
downloadseaweedfs-0e33272f569470fd974ef913e501a05371107390.tar.xz
seaweedfs-0e33272f569470fd974ef913e501a05371107390.zip
small refactoring
Diffstat (limited to 'weed/server')
-rw-r--r--weed/server/volume_grpc_replicate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_grpc_replicate.go b/weed/server/volume_grpc_replicate.go
index c641755d0..ae720144e 100644
--- a/weed/server/volume_grpc_replicate.go
+++ b/weed/server/volume_grpc_replicate.go
@@ -153,7 +153,7 @@ func (vs *VolumeServer) ReadVolumeFileStatus(ctx context.Context, req *volume_se
resp.IdxFileSize = v.IndexFileSize()
resp.DatFileTimestamp = v.LastModifiedTime()
resp.IdxFileTimestamp = v.LastModifiedTime()
- resp.FileCount = uint64(v.FileCount())
+ resp.FileCount = v.FileCount()
return resp, nil
}