state: update local unlock err (#24320)

This commit is contained in:
aqche 2020-03-17 11:01:51 -07:00 committed by GitHub
parent a3529cb455
commit 3578a5d80a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ func (s *LocalState) Unlock(id string) error {
idErr := fmt.Errorf("invalid lock id: %q. current id: %q", id, s.lockID)
info, err := s.lockInfo()
if err != nil {
err = multierror.Append(idErr, err)
idErr = multierror.Append(idErr, err)
}
return &LockError{