mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Revert "add backend.Operation.StateLocker"
This reverts commit d3f7edeb27
.
This commit is contained in:
parent
1d9adc3b72
commit
626c5ed672
@ -9,7 +9,6 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/hashicorp/terraform/command/clistate"
|
|
||||||
"github.com/hashicorp/terraform/config/module"
|
"github.com/hashicorp/terraform/config/module"
|
||||||
"github.com/hashicorp/terraform/state"
|
"github.com/hashicorp/terraform/state"
|
||||||
"github.com/hashicorp/terraform/terraform"
|
"github.com/hashicorp/terraform/terraform"
|
||||||
@ -136,10 +135,6 @@ type Operation struct {
|
|||||||
// state.Lockers for its duration, and Unlock when complete.
|
// state.Lockers for its duration, and Unlock when complete.
|
||||||
LockState bool
|
LockState bool
|
||||||
|
|
||||||
// StateLocker is used to lock the state while providing UI feedback to the
|
|
||||||
// user. This will be supplied by the Backend itself.
|
|
||||||
StateLocker clistate.Locker
|
|
||||||
|
|
||||||
// The duration to retry obtaining a State lock.
|
// The duration to retry obtaining a State lock.
|
||||||
StateLockTimeout time.Duration
|
StateLockTimeout time.Duration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user