|
emptyResult := emptyCNIResult(args, n.CNIVersion) |
In case that mulus is configured with cniVersion: 0.3.1 or 0.4.0, this will create a *types100.Result with CNIVersion 0.31 or 0.4.0. Eventually it leads to github.com/containernetworking/cni/pkg/types/100.convertFrom04x throws out a panic when trying to cast *types100.Result to *types040.Result.
The issue was fixed by ccfd8f5 . But later commit 921191d reverts the fix.
multus-cni/pkg/multus/multus.go
Line 769 in 132c5e7
In case that mulus is configured with cniVersion: 0.3.1 or 0.4.0, this will create a *types100.Result with CNIVersion 0.31 or 0.4.0. Eventually it leads to github.com/containernetworking/cni/pkg/types/100.convertFrom04x throws out a panic when trying to cast *types100.Result to *types040.Result.
The issue was fixed by ccfd8f5 . But later commit 921191d reverts the fix.