small refactoring

This commit is contained in:
Chris Lu
2019-04-10 23:39:53 -07:00
parent cb2061f86a
commit 0e33272f56
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}