nit: compiler.Compile explizite init Environment map

This commit is contained in:
6543
2024-02-23 17:40:52 +01:00
parent d59bc64823
commit 6eafb37aba

View File

@@ -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