backend/remote-state/oss: Add missing lock path to lock info

So that is shows up in lock errors, etc.
This commit is contained in:
Mathias Lafeldt 2020-02-18 10:40:44 +01:00
parent bbd2d46ac8
commit 3b3739b0ca
No known key found for this signature in database
GPG Key ID: 15F939C6FE84FECF
1 changed files with 2 additions and 0 deletions

View File

@ -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 {