Skip to content

Commit 92c0ced

Browse files
committed
Propagate top-level attributes and variables to flattened DW
Signed-off-by: Angel Misevski <[email protected]>
1 parent a363bd7 commit 92c0ced

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/library/flatten/flatten.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ func recursiveResolve(workspace *dw.DevWorkspaceTemplateSpec, tooling ResolverTo
7676
resolvedContent.StarterProjects = workspace.StarterProjects
7777
resolvedContent.Commands = workspace.Commands
7878
resolvedContent.Events = workspace.Events
79+
resolvedContent.Attributes = workspace.Attributes
80+
resolvedContent.Variables = workspace.Variables
7981

8082
var pluginSpecContents []*dw.DevWorkspaceTemplateSpecContent
8183
for _, component := range workspace.Components {

0 commit comments

Comments
 (0)