mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
pkg/domain/infra/abi/play.go: fix one comment
It did start there, as pointed out by Ygal on #25481. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -287,7 +287,7 @@ func (ic *ContainerEngine) PlayKube(ctx context.Context, body io.Reader, options
|
||||
setRanContainers := func(r *entities.PlayKubeReport) {
|
||||
if !ranContainers {
|
||||
for _, p := range r.Pods {
|
||||
// If the list of container errors is less then the total number of pod containers then we know it didn't start.
|
||||
// If the list of container errors is less then the total number of pod containers then we know it did start.
|
||||
if len(p.ContainerErrors) < len(p.Containers)+len(p.InitContainers) {
|
||||
ranContainers = true
|
||||
break
|
||||
|
Reference in New Issue
Block a user