Chris Lu 3 years ago
parent
commit
a0ef6e3611
  1. 2
      weed/server/volume_grpc_copy.go

2
weed/server/volume_grpc_copy.go

@ -226,7 +226,7 @@ func writeToFile(client volume_server_pb.VolumeServer_CopyFileClient, fileName s
if receiveErr == io.EOF {
break
}
if resp.ModifiedTsNs != 0 {
if resp!=nil && resp.ModifiedTsNs != 0 {
modifiedTsNs = resp.ModifiedTsNs
}
if receiveErr != nil {

Loading…
Cancel
Save