mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix nil
This commit is contained in:
parent
4e17d399a6
commit
0d390ec882
|
@ -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,
|
||||||
})
|
})
|
||||||
owner = secondResp.Owner
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
}
|
||||||
|
owner = secondResp.Owner
|
||||||
|
return nil
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in a new issue