terraform: comment

This commit is contained in:
Mitchell Hashimoto 2015-05-07 13:10:25 -07:00
parent 7c3e355bb0
commit 6d56a2ac86
1 changed files with 2 additions and 0 deletions

View File

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