From 3b3739b0ca6f04a39696f868dd2ff4dea69f110f Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Tue, 18 Feb 2020 10:40:44 +0100 Subject: [PATCH] backend/remote-state/oss: Add missing lock path to lock info So that is shows up in lock errors, etc. --- backend/remote-state/oss/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/remote-state/oss/client.go b/backend/remote-state/oss/client.go index e40faf5dfe..47073fb72d 100644 --- a/backend/remote-state/oss/client.go +++ b/backend/remote-state/oss/client.go @@ -158,6 +158,8 @@ func (c *RemoteClient) Lock(info *state.LockInfo) (string, error) { return "", nil } + info.Path = c.lockPath() + if info.ID == "" { lockID, err := uuid.GenerateUUID() if err != nil {