remove commented out fields

This commit is contained in:
James Bardin 2017-11-07 10:15:11 -05:00
parent b9b4912bfb
commit 990acca758

View File

@ -66,13 +66,12 @@ func (w *ContextGraphWalker) EnterPath(path []string) EvalContext {
w.interpolaterVarLock.Unlock() w.interpolaterVarLock.Unlock()
ctx := &BuiltinEvalContext{ ctx := &BuiltinEvalContext{
StopContext: w.StopContext, StopContext: w.StopContext,
PathValue: path, PathValue: path,
Hooks: w.Context.hooks, Hooks: w.Context.hooks,
InputValue: w.Context.uiInput, InputValue: w.Context.uiInput,
Components: w.Context.components, Components: w.Context.components,
ProviderCache: w.providerCache, ProviderCache: w.providerCache,
//ProviderConfigCache: w.providerConfigCache,
ProviderInputConfig: w.Context.providerInputConfig, ProviderInputConfig: w.Context.providerInputConfig,
ProviderLock: &w.providerLock, ProviderLock: &w.providerLock,
ProvisionerCache: w.provisionerCache, ProvisionerCache: w.provisionerCache,
@ -150,7 +149,6 @@ func (w *ContextGraphWalker) ExitEvalTree(
func (w *ContextGraphWalker) init() { func (w *ContextGraphWalker) init() {
w.contexts = make(map[string]*BuiltinEvalContext, 5) w.contexts = make(map[string]*BuiltinEvalContext, 5)
w.providerCache = make(map[string]ResourceProvider, 5) w.providerCache = make(map[string]ResourceProvider, 5)
//w.providerConfigCache = make(map[string]*ResourceConfig, 5)
w.provisionerCache = make(map[string]ResourceProvisioner, 5) w.provisionerCache = make(map[string]ResourceProvisioner, 5)
w.interpolaterVars = make(map[string]map[string]interface{}, 5) w.interpolaterVars = make(map[string]map[string]interface{}, 5)
} }