mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -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
|
return "", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info.Path = c.lockPath()
|
||||||
|
|
||||||
if info.ID == "" {
|
if info.ID == "" {
|
||||||
lockID, err := uuid.GenerateUUID()
|
lockID, err := uuid.GenerateUUID()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user