mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix inmem backend crash due to missing struct field (#1619)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
parent
91561ca8e8
commit
08469452b6
@ -9,6 +9,7 @@ ENHANCEMENTS:
|
|||||||
|
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
* Fixed crash in gcs backend when using certain commands ([#1618](https://github.com/opentofu/opentofu/pull/1618))
|
* Fixed crash in gcs backend when using certain commands ([#1618](https://github.com/opentofu/opentofu/pull/1618))
|
||||||
|
* Fix inmem backend crash due to missing struct field ([#1619](https://github.com/opentofu/opentofu/pull/1619))
|
||||||
* Added a check in the `tofu test` to validate that the names of test run blocks do not contain spaces. ([#1489](https://github.com/opentofu/opentofu/pull/1489))
|
* Added a check in the `tofu test` to validate that the names of test run blocks do not contain spaces. ([#1489](https://github.com/opentofu/opentofu/pull/1489))
|
||||||
* `tofu test` now supports accessing module outputs when the module has no resources. ([#1409](https://github.com/opentofu/opentofu/pull/1409))
|
* `tofu test` now supports accessing module outputs when the module has no resources. ([#1409](https://github.com/opentofu/opentofu/pull/1409))
|
||||||
|
|
||||||
|
@ -76,9 +76,7 @@ func (b *Backend) configure(ctx context.Context) error {
|
|||||||
Name: backend.DefaultStateName,
|
Name: backend.DefaultStateName,
|
||||||
}
|
}
|
||||||
|
|
||||||
states.m[backend.DefaultStateName] = &remote.State{
|
states.m[backend.DefaultStateName] = remote.NewState(defaultClient, b.encryption)
|
||||||
Client: defaultClient,
|
|
||||||
}
|
|
||||||
|
|
||||||
// set the default client lock info per the test config
|
// set the default client lock info per the test config
|
||||||
data := schema.FromContextBackendConfig(ctx)
|
data := schema.FromContextBackendConfig(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user