diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-03-31 17:02:10 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-04-01 08:07:43 -0700 |
commit | 46e3b2efb84580cc12b0bc5ad0863957b88ae202 (patch) | |
tree | dbe09731facf6a80406a62a6ca95b3f1514c2047 /pkg/domain/infra/abi/containers.go | |
parent | 82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc (diff) | |
download | podman-46e3b2efb84580cc12b0bc5ad0863957b88ae202.tar.gz podman-46e3b2efb84580cc12b0bc5ad0863957b88ae202.tar.bz2 podman-46e3b2efb84580cc12b0bc5ad0863957b88ae202.zip |
V2 podman inspect
* Expose podman container inspect
* Expose podman image inspect
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/containers.go')
-rw-r--r-- | pkg/domain/infra/abi/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index d25af24c5..172c7d1a3 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -243,7 +243,7 @@ func (ic *ContainerEngine) ContainerRm(ctx context.Context, namesOrIds []string, return reports, nil } -func (ic *ContainerEngine) ContainerInspect(ctx context.Context, namesOrIds []string, options entities.ContainerInspectOptions) ([]*entities.ContainerInspectReport, error) { +func (ic *ContainerEngine) ContainerInspect(ctx context.Context, namesOrIds []string, options entities.InspectOptions) ([]*entities.ContainerInspectReport, error) { var reports []*entities.ContainerInspectReport ctrs, err := shortcuts.GetContainersByContext(false, options.Latest, namesOrIds, ic.Libpod) if err != nil { |