summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/runtime_libpod.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-15 14:49:51 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-15 14:49:51 -0500
commitbbc0c4a97374c88c811e49191b5554a6a6516329 (patch)
tree060c303451118d3829443d3b856182395b8fbc15 /pkg/domain/infra/runtime_libpod.go
parentef297d466e81b1fbdb5472f7f36e5903f66c959f (diff)
downloadpodman-bbc0c4a97374c88c811e49191b5554a6a6516329.tar.gz
podman-bbc0c4a97374c88c811e49191b5554a6a6516329.tar.bz2
podman-bbc0c4a97374c88c811e49191b5554a6a6516329.zip
podmanv2 fix runtime assignment
when provided by the command line, the runtime assignment needs to send the right attribute Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/runtime_libpod.go')
-rw-r--r--pkg/domain/infra/runtime_libpod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/runtime_libpod.go b/pkg/domain/infra/runtime_libpod.go
index 9cf374e2e..6b0ac4852 100644
--- a/pkg/domain/infra/runtime_libpod.go
+++ b/pkg/domain/infra/runtime_libpod.go
@@ -160,7 +160,7 @@ func getRuntime(ctx context.Context, fs *flag.FlagSet, opts *engineOpts) (*libpo
}
if fs.Changed("runtime") {
- options = append(options, libpod.WithOCIRuntime(cfg.RuntimePath))
+ options = append(options, libpod.WithOCIRuntime(cfg.Engine.OCIRuntime))
}
if fs.Changed("conmon") {