about summary refs log tree commit diff
path: root/context/context.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-08T16·21+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-08T16·34+0100
commitbace4dd895ac0bcb29388c64f3711de114e36765 (patch)
treea9a9e7aea82617f36b06e015db035696f790dda6 /context/context.go
parent4e8223ef3496f390dd84a2a47fc8846afd6f7c76 (diff)
fix context: Set sub resource names correctly
Diffstat (limited to 'context/context.go')
-rw-r--r--context/context.go1
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)
 			}
 		}