Skip to content

Commit

Permalink
fix regression from 81dcdea (missmatch)
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Jun 16, 2022
1 parent 06f869b commit 9449b67
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pipeline/frontend/yaml/compiler/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,8 @@ func (c *Compiler) createProcess(name string, container *yaml.Container, section
cpuSet = c.reslimit.CPUSet
}

stepName := container.Name
if len(stepName) == 0 {
stepName = name
} else {
stepName = section + "." + stepName
}

return &backend.Step{
Name: stepName,
Name: name,
Alias: container.Name,
Image: image,
Pull: container.Pull,
Expand Down

0 comments on commit 9449b67

Please sign in to comment.