state: update local unlock err (#24320)
This commit is contained in:
parent
a3529cb455
commit
3578a5d80a
|
@ -216,7 +216,7 @@ func (s *LocalState) Unlock(id string) error {
|
||||||
idErr := fmt.Errorf("invalid lock id: %q. current id: %q", id, s.lockID)
|
idErr := fmt.Errorf("invalid lock id: %q. current id: %q", id, s.lockID)
|
||||||
info, err := s.lockInfo()
|
info, err := s.lockInfo()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = multierror.Append(idErr, err)
|
idErr = multierror.Append(idErr, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &LockError{
|
return &LockError{
|
||||||
|
|
Loading…
Reference in New Issue