Skip to content

Commit

Permalink
nit: compiler.Compile explizite init Environment map
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Feb 23, 2024
1 parent d59bc64 commit 6eafb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/frontend/yaml/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er
Name: defaultCloneName,
Image: cloneImage,
Settings: cloneSettings,
Environment: map[string]any{},
Environment: make(map[string]any),
}
for k, v := range c.cloneEnv {
container.Environment[k] = v
Expand Down

0 comments on commit 6eafb37

Please sign in to comment.