mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-10 23:55:34 -06:00
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)
|
|
}
|