From 6d56a2ac86afc6be4fed86d3ea357e8faed1bb12 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 7 May 2015 13:10:25 -0700 Subject: [PATCH] terraform: comment --- terraform/transform_flatten.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/transform_flatten.go b/terraform/transform_flatten.go index eb331ccefa..886b6b64dc 100644 --- a/terraform/transform_flatten.go +++ b/terraform/transform_flatten.go @@ -53,6 +53,8 @@ func (t *FlattenTransformer) Transform(g *Graph) error { // Go through the subgraph and flatten all the nodes for _, sv := range subgraph.Vertices() { + // If the vertex already has a subpath then we assume it has + // already been flattened. Ignore it. if _, ok := sv.(GraphNodeSubPath); ok { continue }