summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/containers.go
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-01 21:23:44 +0100
committerMatthew Heon <matthew.heon@pm.me>2021-02-08 14:29:18 -0500
commitd6625f2948f182bfe01ec81d95f9865973f3ad3b (patch)
treef12ab3bfc38917a916eed43a71722f7892a9fff6 /pkg/domain/infra/abi/containers.go
parent74db6e7ed3555deb13675b8f43465e200d8a8d85 (diff)
downloadpodman-d6625f2948f182bfe01ec81d95f9865973f3ad3b.tar.gz
podman-d6625f2948f182bfe01ec81d95f9865973f3ad3b.tar.bz2
podman-d6625f2948f182bfe01ec81d95f9865973f3ad3b.zip
Improve ContainerEngine.ContainerWait()
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/containers.go')
-rw-r--r--pkg/domain/infra/abi/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go
index cfd3d7272..7a672d863 100644
--- a/pkg/domain/infra/abi/containers.go
+++ b/pkg/domain/infra/abi/containers.go
@@ -100,7 +100,7 @@ func (ic *ContainerEngine) ContainerWait(ctx context.Context, namesOrIds []strin
responses := make([]entities.WaitReport, 0, len(ctrs))
for _, c := range ctrs {
response := entities.WaitReport{Id: c.ID()}
- exitCode, err := c.WaitForConditionWithInterval(ctx, options.Interval, options.Condition)
+ exitCode, err := c.WaitForConditionWithInterval(ctx, options.Interval, options.Condition...)
if err != nil {
response.Error = err
} else {