Skip to content

Commit

Permalink
Fix server panic (#3426)
Browse files Browse the repository at this point in the history
Closes #3424
  • Loading branch information
qwerty287 authored Feb 23, 2024
1 parent 9013156 commit d59bc64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pipeline/frontend/yaml/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er
cloneSettings["tags"] = "true"
}
container := &yaml_types.Container{
Name: defaultCloneName,
Image: cloneImage,
Settings: cloneSettings,
Name: defaultCloneName,
Image: cloneImage,
Settings: cloneSettings,
Environment: map[string]any{},
}
for k, v := range c.cloneEnv {
container.Environment[k] = v
Expand Down

0 comments on commit d59bc64

Please sign in to comment.