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
1 changed files with 0 additions and 2 deletions

View File

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