diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-02-08T16·21+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-02-08T16·34+0100 |
commit | bace4dd895ac0bcb29388c64f3711de114e36765 (patch) | |
tree | a9a9e7aea82617f36b06e015db035696f790dda6 | |
parent | 4e8223ef3496f390dd84a2a47fc8846afd6f7c76 (diff) |
fix context: Set sub resource names correctly
-rw-r--r-- | context/context.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/context/context.go b/context/context.go index 94838f668d71..2de78541e7e6 100644 --- a/context/context.go +++ b/context/context.go @@ -80,6 +80,7 @@ func flattenResourceSetCollections(rs *[]ResourceSet) *[]ResourceSet { } else { for _, subResourceSet := range r.Include { subResourceSet.Parent = &r.Name + subResourceSet.Name = path.Join(r.Name, subResourceSet.Name) flattened = append(flattened, subResourceSet) } } |