Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cni/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down