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

So that is shows up in lock errors, etc.
pull/24149/head
Mathias Lafeldt 6 years ago
parent bbd2d46ac8
commit 3b3739b0ca
No known key found for this signature in database
GPG Key ID: 15F939C6FE84FECF

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

Loading…
Cancel
Save