We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adcabcd commit 9ca7d88Copy full SHA for 9ca7d88
cni/network/network.go
@@ -590,8 +590,9 @@ func (plugin *NetPlugin) Add(args *cniSkel.CmdArgs) error {
590
}
591
592
policies := cni.GetPoliciesFromNwCfg(nwCfg.AdditionalArgs)
593
- policies = append(policies, ipamAddResult.interfaceInfo[string(cns.InfraNIC)].EndpointPolicies...)
594
-
+ for key := range ipamAddResult.interfaceInfo {
+ policies = append(policies, ipamAddResult.interfaceInfo[key].EndpointPolicies...)
595
+ }
596
// moved to addIpamInvoker
597
// sendEvent(plugin, fmt.Sprintf("Allocated IPAddress from ipam interface: %+v", ipamAddResult.PrettyString()))
598
0 commit comments