mirror of
https://github.com/rancher/plugins.git
synced 2025-09-01 07:16:59 +00:00
testing: test invocation of newer plugins with an older libcni
This commit is contained in:
@@ -52,7 +52,7 @@ var _ = Describe("Invoking the plugin", func() {
|
||||
}
|
||||
Expect(debug.WriteDebug(debugFilePath)).To(Succeed())
|
||||
|
||||
cniBinPath = filepath.Dir(pathToPlugin)
|
||||
cniBinPath = filepath.Dir(pluginPaths["noop"])
|
||||
pluginConfig = `{ "type": "noop", "some-key": "some-value", "cniVersion": "0.2.0" }`
|
||||
cniConfig = libcni.CNIConfig{Path: []string{cniBinPath}}
|
||||
netConfig = &libcni.NetworkConfig{
|
||||
|
Reference in New Issue
Block a user