terraform: proper prefix for output connects

This commit is contained in:
Mitchell Hashimoto 2016-09-16 00:10:19 -07:00
parent 7d07f20893
commit f2aa880625
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (m *ReferenceMap) References(v dag.Vertex) ([]dag.Vertex, []string) {
var prefix string var prefix string
if pn, ok := v.(GraphNodeSubPath); ok { if pn, ok := v.(GraphNodeSubPath); ok {
if path := normalizeModulePath(pn.Path()); len(path) > 1 { if path := normalizeModulePath(pn.Path()); len(path) > 1 {
prefix = modulePrefixStr(path[1:]) + "." prefix = modulePrefixStr(path) + "."
} }
} }