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
|
variables map[string]string
|
||||||
|
|
||||||
l sync.Mutex
|
l sync.Mutex
|
||||||
cond *sync.Cond
|
|
||||||
runCh <-chan struct{}
|
runCh <-chan struct{}
|
||||||
sh *stopHook
|
sh *stopHook
|
||||||
}
|
}
|
||||||
|
@ -67,7 +66,6 @@ func NewContext(opts *ContextOpts) *Context {
|
||||||
providers: opts.Providers,
|
providers: opts.Providers,
|
||||||
variables: opts.Variables,
|
variables: opts.Variables,
|
||||||
|
|
||||||
cond: sync.NewCond(new(sync.Mutex)),
|
|
||||||
sh: sh,
|
sh: sh,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue