Merge pull request #337 from cyphar/respect-plugindir-config
server: respect ocid.network.plugin_dir setting
This commit is contained in:
commit
7fda27a5b3
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ func New(config *Config) (*Server, error) {
|
|||
}
|
||||
sandboxes := make(map[string]*sandbox)
|
||||
containers := oci.NewMemoryStore()
|
||||
netPlugin, err := ocicni.InitCNI(config.NetworkDir)
|
||||
netPlugin, err := ocicni.InitCNI(config.NetworkDir, config.PluginDir)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue