mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-11 08:05:33 -06:00
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:
parent
bbd2d46ac8
commit
3b3739b0ca
@ -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…
Reference in New Issue
Block a user