mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-07 18:08:48 +00:00
nit: compiler.Compile explizite init Environment map
This commit is contained in:
parent
d59bc64823
commit
6eafb37aba
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue