From 2f3f6805054b2a731d12bf554e5cbbb0a2ccac86 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 4 May 2015 10:49:34 -0700 Subject: [PATCH] terraform: update comment --- terraform/graph_config_node_module.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/graph_config_node_module.go b/terraform/graph_config_node_module.go index 308b47ca13..08182a6b61 100644 --- a/terraform/graph_config_node_module.go +++ b/terraform/graph_config_node_module.go @@ -165,9 +165,9 @@ func (n *graphNodeModuleExpanded) FlattenGraph() *Graph { graph := n.Subgraph() input := n.Original.Module.RawConfig - // Go over each vertex in the graph and wrap the configuration - // items so that the dependencies properly map to the modules. - // See the docs for graphNodeModuleWrappable for more info. + // Go over each vertex and do some modifications to the graph for + // flattening. We have to skip some nodes (graphNodeModuleSkippable) + // as well as setup the variable values. for _, v := range graph.Vertices() { if sn, ok := v.(graphNodeModuleSkippable); ok && sn.FlattenSkip() { graph.Remove(v)