diff --git a/backend/remote-state/pg/client.go b/backend/remote-state/pg/client.go index 3c94e88f30..a14e5ed4b2 100644 --- a/backend/remote-state/pg/client.go +++ b/backend/remote-state/pg/client.go @@ -80,7 +80,7 @@ func (c *RemoteClient) Lock(info *state.LockInfo) (string, error) { var didUnlock []byte err := row.Scan(&didUnlock) if err != nil { - return &state.LockError{Info: c.info, Err: err} + return &state.LockError{Info: info, Err: err} } return nil }