mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
a3b1764fd7
When returning from the context method, a deferred function call checked for error diagnostics in the `diags` variable, and unlocked the state if any exist. This means that we need to be extra careful to mutate that variable when returning errors, rather than returning a different set of diags in the same position. Previously this would result in an invalid plan file causing a lock to become stuck. |
||
---|---|---|
.. | ||
init | ||
local | ||
remote | ||
remote-state | ||
backend_test.go | ||
backend.go | ||
cli.go | ||
operation_type.go | ||
operationtype_string.go | ||
testing.go | ||
unparsed_value_test.go | ||
unparsed_value.go |