summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index cd1ad5eda..8097f3a64 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -275,7 +275,7 @@ func WithCNIPluginDir(dir string) RuntimeOption {
return ErrRuntimeFinalized
}
- rt.config.CNIPluginDir = dir
+ rt.config.CNIPluginDir = []string{dir}
return nil
}