mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 10:23:25 +00:00
nit: compiler.Compile explizite init Environment map
This commit is contained in:
@@ -182,7 +182,7 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er
|
|||||||
Name: defaultCloneName,
|
Name: defaultCloneName,
|
||||||
Image: cloneImage,
|
Image: cloneImage,
|
||||||
Settings: cloneSettings,
|
Settings: cloneSettings,
|
||||||
Environment: map[string]any{},
|
Environment: make(map[string]any),
|
||||||
}
|
}
|
||||||
for k, v := range c.cloneEnv {
|
for k, v := range c.cloneEnv {
|
||||||
container.Environment[k] = v
|
container.Environment[k] = v
|
||||||
|
Reference in New Issue
Block a user