mirror of https://github.com/k3s-io/k3s
Fix inconsistenty in finding cni binaries
Fixes [#46476] Signed-off-by: Abhinav Dahiya <abhinav.dahiya@coreos.com>pull/6/head
parent
d9f3ea5191
commit
73555e7ce9
|
@ -134,7 +134,7 @@ func getDefaultCNINetwork(pluginDir, binDir, vendorCNIDirPrefix string) (*cniNet
|
|||
// Search for vendor-specific plugins as well as default plugins in the CNI codebase.
|
||||
vendorDir := vendorCNIDir(vendorCNIDirPrefix, confType)
|
||||
cninet := &libcni.CNIConfig{
|
||||
Path: []string{binDir, vendorDir},
|
||||
Path: []string{vendorDir, binDir},
|
||||
}
|
||||
network := &cniNetwork{name: confList.Name, NetworkConfig: confList, CNIConfig: cninet}
|
||||
return network, nil
|
||||
|
|
Loading…
Reference in New Issue