diff options
Diffstat (limited to 'libpod/options.go')
-rw-r--r-- | libpod/options.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go index 319e1f6c6..65a8a91d3 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -147,7 +147,11 @@ func WithOCIRuntime(runtimePath string) RuntimeOption { return errors.Wrapf(ErrInvalidArg, "must provide a valid path") } - rt.config.RuntimePath = []string{runtimePath} + rt.config.OCIRuntimes = []OCIRuntimePath{ + { + Paths: []string{runtimePath}, + }, + } return nil } |