From 013ecca8959f94cd97ee694676eeda6439ad38b7 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Mon, 6 Apr 2020 13:59:02 -0500 Subject: podmanv2 info add ability to run info for v2 Signed-off-by: Brent Baude --- pkg/domain/infra/tunnel/system.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkg/domain/infra/tunnel') diff --git a/pkg/domain/infra/tunnel/system.go b/pkg/domain/infra/tunnel/system.go index 5bafef1fe..5d6346234 100644 --- a/pkg/domain/infra/tunnel/system.go +++ b/pkg/domain/infra/tunnel/system.go @@ -1 +1,12 @@ package tunnel + +import ( + "context" + + "github.com/containers/libpod/libpod/define" + "github.com/containers/libpod/pkg/bindings/system" +) + +func (ic *ContainerEngine) Info(ctx context.Context) (*define.Info, error) { + return system.Info(ic.ClientCxt) +} -- cgit v1.2.3-54-g00ecf