fix regression from 81dcdea2be (missmatch)

This commit is contained in:
6543 2022-06-16 23:11:27 +02:00
parent 06f869beb3
commit 9449b67da9
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

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