terraform: Context doesn't need a sync.Cond

This commit is contained in:
Mitchell Hashimoto 2014-07-03 11:33:45 -07:00
parent 9e41c6335b
commit adcd6486a2

View File

@ -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,
}
}