mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
1daff7a826
This adds a "lock" config (default true) to allow users to optionally disable state locking with Consul. This is necessary if the token given doesn't have session permission and is necessary for backwards compatibility.
11 lines
150 B
Go
11 lines
150 B
Go
package state
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLockDisabled_impl(t *testing.T) {
|
|
var _ State = new(LockDisabled)
|
|
var _ Locker = new(LockDisabled)
|
|
}
|