mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +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) {
|
setRanContainers := func(r *entities.PlayKubeReport) {
|
||||||
if !ranContainers {
|
if !ranContainers {
|
||||||
for _, p := range r.Pods {
|
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) {
|
if len(p.ContainerErrors) < len(p.Containers)+len(p.InitContainers) {
|
||||||
ranContainers = true
|
ranContainers = true
|
||||||
break
|
break
|
||||||
|
Reference in New Issue
Block a user