diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-17 02:35:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 02:35:50 -0700 |
commit | d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b (patch) | |
tree | 215280684ce6195fac64f18ebd7d29c5baa376cc /pkg/domain/infra/runtime_tunnel.go | |
parent | 0d2b5532c417c58bd24e71a56c5c55b43e423a59 (diff) | |
parent | 554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f (diff) | |
download | podman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.tar.gz podman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.tar.bz2 podman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.zip |
Merge pull request #5856 from jwhonce/wip/options
Fix bug where two configurations had been created
Diffstat (limited to 'pkg/domain/infra/runtime_tunnel.go')
-rw-r--r-- | pkg/domain/infra/runtime_tunnel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/runtime_tunnel.go b/pkg/domain/infra/runtime_tunnel.go index 129fdeb2c..752218aaf 100644 --- a/pkg/domain/infra/runtime_tunnel.go +++ b/pkg/domain/infra/runtime_tunnel.go @@ -11,7 +11,7 @@ import ( "github.com/containers/libpod/pkg/domain/infra/tunnel" ) -func NewContainerEngine(facts entities.PodmanConfig) (entities.ContainerEngine, error) { +func NewContainerEngine(facts *entities.PodmanConfig) (entities.ContainerEngine, error) { switch facts.EngineMode { case entities.ABIMode: return nil, fmt.Errorf("direct runtime not supported") @@ -23,7 +23,7 @@ func NewContainerEngine(facts entities.PodmanConfig) (entities.ContainerEngine, } // NewImageEngine factory provides a libpod runtime for image-related operations -func NewImageEngine(facts entities.PodmanConfig) (entities.ImageEngine, error) { +func NewImageEngine(facts *entities.PodmanConfig) (entities.ImageEngine, error) { switch facts.EngineMode { case entities.ABIMode: return nil, fmt.Errorf("direct image runtime not supported") |