mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
terraform: Context doesn't need a sync.Cond
This commit is contained in:
parent
9e41c6335b
commit
adcd6486a2
@ -29,7 +29,6 @@ type Context struct {
|
||||
variables map[string]string
|
||||
|
||||
l sync.Mutex
|
||||
cond *sync.Cond
|
||||
runCh <-chan struct{}
|
||||
sh *stopHook
|
||||
}
|
||||
@ -67,7 +66,6 @@ func NewContext(opts *ContextOpts) *Context {
|
||||
providers: opts.Providers,
|
||||
variables: opts.Variables,
|
||||
|
||||
cond: sync.NewCond(new(sync.Mutex)),
|
||||
sh: sh,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user