aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_grpc_copy_incremental.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/server/volume_grpc_copy_incremental.go')
-rw-r--r--weed/server/volume_grpc_copy_incremental.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/server/volume_grpc_copy_incremental.go b/weed/server/volume_grpc_copy_incremental.go
index 41b7a798c..06e7017e8 100644
--- a/weed/server/volume_grpc_copy_incremental.go
+++ b/weed/server/volume_grpc_copy_incremental.go
@@ -18,9 +18,9 @@ func (vs *VolumeServer) VolumeIncrementalCopy(req *volume_server_pb.VolumeIncrem
}
stopOffset := v.Size()
- foundOffset, isLastOne, err := v.BinarySearchByAppendAtNs(req.Since)
+ foundOffset, isLastOne, err := v.BinarySearchByAppendAtNs(req.SinceNs)
if err != nil {
- return fmt.Errorf("fail to locate by appendAtNs %d: %s", req.Since, err)
+ return fmt.Errorf("fail to locate by appendAtNs %d: %s", req.SinceNs, err)
}
if isLastOne {