Skip to content

Commit

Permalink
Update pipeline/frontend/yaml/compiler/convert.go
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 authored Jan 2, 2023
1 parent 25dcb14 commit 3284a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/frontend/yaml/compiler/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (c *Compiler) createProcess(name string, container *yaml.Container, section
cpuSet = c.reslimit.CPUSet
}

// all constraints must not include success.
// at least one constraint contain status success, or all constraints have no status set
onSuccess := container.When.IncludesStatusSuccess()
// at least one constraint must include the status failure.
onFailure := container.When.IncludesStatusFailure()
Expand Down

0 comments on commit 3284a4d

Please sign in to comment.