diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-15 01:48:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 01:48:52 +0200 |
commit | f0b6cdede554316643187d40c67684daf5a2a2bb (patch) | |
tree | c2b3a369924f29ddf1762d32941dd10b38da2b9d /pkg/domain/infra/runtime_abi.go | |
parent | 0d01f09bf4103538a6011019b690e5aa11c377db (diff) | |
parent | d51727642603ba160a7898ee4597d0f071cdea44 (diff) | |
download | podman-f0b6cdede554316643187d40c67684daf5a2a2bb.tar.gz podman-f0b6cdede554316643187d40c67684daf5a2a2bb.tar.bz2 podman-f0b6cdede554316643187d40c67684daf5a2a2bb.zip |
Merge pull request #5812 from jwhonce/wip/options
Add support for the global flags and config files
Diffstat (limited to 'pkg/domain/infra/runtime_abi.go')
-rw-r--r-- | pkg/domain/infra/runtime_abi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/runtime_abi.go b/pkg/domain/infra/runtime_abi.go index f11026571..0dbcf2ad2 100644 --- a/pkg/domain/infra/runtime_abi.go +++ b/pkg/domain/infra/runtime_abi.go @@ -12,7 +12,7 @@ import ( ) // NewContainerEngine factory provides a libpod runtime for container-related operations -func NewContainerEngine(facts entities.EngineOptions) (entities.ContainerEngine, error) { +func NewContainerEngine(facts entities.PodmanConfig) (entities.ContainerEngine, error) { switch facts.EngineMode { case entities.ABIMode: r, err := NewLibpodRuntime(facts.FlagSet, facts) @@ -25,7 +25,7 @@ func NewContainerEngine(facts entities.EngineOptions) (entities.ContainerEngine, } // NewContainerEngine factory provides a libpod runtime for image-related operations -func NewImageEngine(facts entities.EngineOptions) (entities.ImageEngine, error) { +func NewImageEngine(facts entities.PodmanConfig) (entities.ImageEngine, error) { switch facts.EngineMode { case entities.ABIMode: r, err := NewLibpodImageRuntime(facts.FlagSet, facts) |