Browse Source

fix nil

pull/4851/head
chrislu 1 year ago
parent
commit
0d390ec882
  1. 5
      weed/server/filer_grpc_server_dlm.go

5
weed/server/filer_grpc_server_dlm.go

@ -90,8 +90,11 @@ func (fs *FilerServer) FindLockOwner(ctx context.Context, req *filer_pb.FindLock
Name: req.Name, Name: req.Name,
IsMoved: true, IsMoved: true,
}) })
if err != nil {
return err
}
owner = secondResp.Owner owner = secondResp.Owner
return err
return nil
}) })
if err != nil { if err != nil {
return nil, err return nil, err

Loading…
Cancel
Save