Browse Source

pass errors

pull/5637/head
chrislu 10 months ago
parent
commit
832b60c13f
  1. 1
      weed/server/filer_grpc_server_dlm.go

1
weed/server/filer_grpc_server_dlm.go

@ -33,7 +33,6 @@ func (fs *FilerServer) DistributedLock(ctx context.Context, req *filer_pb.LockRe
if err == nil { if err == nil {
resp.RenewToken = secondResp.RenewToken resp.RenewToken = secondResp.RenewToken
resp.LockOwner = secondResp.LockOwner resp.LockOwner = secondResp.LockOwner
} else {
resp.Error = secondResp.Error resp.Error = secondResp.Error
} }
return err return err

Loading…
Cancel
Save