mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08: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,
|
||||
IsMoved: true,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
owner = secondResp.Owner
|
||||
return err
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user