From 3578a5d80aea766b6382b11b590b7c16b6ddefc3 Mon Sep 17 00:00:00 2001 From: aqche <39076898+aqche@users.noreply.github.com> Date: Tue, 17 Mar 2020 11:01:51 -0700 Subject: [PATCH] state: update local unlock err (#24320) --- state/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/local.go b/state/local.go index 88cf2c7f5..146651967 100644 --- a/state/local.go +++ b/state/local.go @@ -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{