mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 03:11:01 +00:00
fix regression from 81dcdea2be
(missmatch)
This commit is contained in:
parent
06f869beb3
commit
9449b67da9
1 changed files with 1 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue