summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/runtime_image_proxy.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-20 22:22:20 +0100
committerGitHub <noreply@github.com>2020-03-20 22:22:20 +0100
commit7a095af92a6a39845b1c362222b23632f3e17001 (patch)
tree52a8692894690a8f09e025f90d6d2b5045259e4f /pkg/domain/infra/runtime_image_proxy.go
parent6df1d2043bd3cd2252ea3d737cf542e332106074 (diff)
parentc81e065149da73ae904aa19ee46a23d1ab8ce55c (diff)
downloadpodman-7a095af92a6a39845b1c362222b23632f3e17001.tar.gz
podman-7a095af92a6a39845b1c362222b23632f3e17001.tar.bz2
podman-7a095af92a6a39845b1c362222b23632f3e17001.zip
Merge pull request #5571 from baude/v2exists
podmanv2 container exists|wait
Diffstat (limited to 'pkg/domain/infra/runtime_image_proxy.go')
-rw-r--r--pkg/domain/infra/runtime_image_proxy.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/domain/infra/runtime_image_proxy.go b/pkg/domain/infra/runtime_image_proxy.go
index 480e7c8d7..d2e66c08c 100644
--- a/pkg/domain/infra/runtime_image_proxy.go
+++ b/pkg/domain/infra/runtime_image_proxy.go
@@ -12,14 +12,10 @@ import (
// ContainerEngine Image Proxy will be EOL'ed after podmanV2 is separated from libpod repo
-func NewLibpodImageRuntime(flags pflag.FlagSet, opts entities.EngineFlags) (entities.ImageEngine, error) {
+func NewLibpodImageRuntime(flags *pflag.FlagSet, opts entities.EngineFlags) (entities.ImageEngine, error) {
r, err := GetRuntime(context.Background(), flags, opts)
if err != nil {
return nil, err
}
return &abi.ImageEngine{Libpod: r}, nil
}
-
-func (ir *runtime) ShutdownImageRuntime(force bool) error {
- return ir.Libpod.Shutdown(force)
-}