summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-11 10:10:46 -0500
committerMatthew Heon <matthew.heon@gmail.com>2018-01-11 10:10:46 -0500
commit240e5789d409d82453b72f87862f7e71efa381e4 (patch)
tree32aa610ce49cf9d84d3ba1ca93bc48c65be6addd /libpod/options.go
parent5bc4d1d315b69a7aff60b049434e716eaccdeb05 (diff)
downloadpodman-240e5789d409d82453b72f87862f7e71efa381e4.tar.gz
podman-240e5789d409d82453b72f87862f7e71efa381e4.tar.bz2
podman-240e5789d409d82453b72f87862f7e71efa381e4.zip
Update CNI plugin directories to search default location as well
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
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 199bf9ee9..081a20f37 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
}