summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/domain/infra/abi/events.go')
-rw-r--r--pkg/domain/infra/abi/events.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/domain/infra/abi/events.go b/pkg/domain/infra/abi/events.go
index 7ec9db369..7a8185445 100644
--- a/pkg/domain/infra/abi/events.go
+++ b/pkg/domain/infra/abi/events.go
@@ -3,11 +3,11 @@ package abi
import (
"context"
- "github.com/containers/libpod/libpod/events"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/libpod/events"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
)
func (ic *ContainerEngine) Events(ctx context.Context, opts entities.EventsOptions) error {
readOpts := events.ReadOptions{FromStart: opts.FromStart, Stream: opts.Stream, Filters: opts.Filter, EventChannel: opts.EventChan, Since: opts.Since, Until: opts.Until}
- return ic.Libpod.Events(readOpts)
+ return ic.Libpod.Events(ctx, readOpts)
}