From cfe7c3cfa2590cdc3ac798524a8229b0a1f0dcc9 Mon Sep 17 00:00:00 2001 From: Madhan Raj Mookkandy Date: Mon, 2 Jul 2018 14:12:12 -0700 Subject: [PATCH] Fix to use latest cni for building --- cni/plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cni/plugin.go b/cni/plugin.go index 53f1b554d6..1b1f09af34 100644 --- a/cni/plugin.go +++ b/cni/plugin.go @@ -104,7 +104,7 @@ func (plugin *Plugin) DelegateAdd(pluginName string, nwCfg *NetworkConfig) (*cni os.Setenv(Cmd, CmdAdd) - res, err := cniInvoke.DelegateAdd(pluginName, nwCfg.Serialize()) + res, err := cniInvoke.DelegateAdd(pluginName, nwCfg.Serialize(), nil) if err != nil { return nil, fmt.Errorf("Failed to delegate: %v", err) } @@ -126,7 +126,7 @@ func (plugin *Plugin) DelegateDel(pluginName string, nwCfg *NetworkConfig) error os.Setenv(Cmd, CmdDel) - err = cniInvoke.DelegateDel(pluginName, nwCfg.Serialize()) + err = cniInvoke.DelegateDel(pluginName, nwCfg.Serialize(), nil) if err != nil { return fmt.Errorf("Failed to delegate: %v", err) }