From bbc0c4a97374c88c811e49191b5554a6a6516329 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Wed, 15 Apr 2020 14:49:51 -0500 Subject: podmanv2 fix runtime assignment when provided by the command line, the runtime assignment needs to send the right attribute Signed-off-by: Brent Baude --- pkg/domain/infra/runtime_libpod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/domain') 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") { -- cgit v1.2.3-54-g00ecf