Skip to content

Commit

Permalink
bump cni to 1.5.0 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinForReal authored May 23, 2024
1 parent 1d4d4a7 commit 5783fdd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const (
)

func main() {
skel.PluginMain(cmdAdd, cmdCheck, cmdDel, version.All, bv.BuildString(IPAMPluginName))
skel.PluginMainFuncs(skel.CNIFuncs{
Add: cmdAdd,
Del: cmdDel,
Check: cmdCheck,
}, version.All, bv.BuildString(IPAMPluginName))
}

func cmdAdd(args *skel.CmdArgs) error {
Expand Down

0 comments on commit 5783fdd

Please sign in to comment.