forked from github/multus-cni
Merge pull request #867 from mmirecki/downwardapi
Fix missing device-info in networks-status annotation for chained plugins
This commit is contained in:
commit
18a660ebc7
@ -80,6 +80,8 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, logging.Errorf("LoadDelegateNetConf: failed to add deviceID in NetConfList bytes: %v", err)
|
return nil, logging.Errorf("LoadDelegateNetConf: failed to add deviceID in NetConfList bytes: %v", err)
|
||||||
}
|
}
|
||||||
|
delegateConf.ResourceName = resourceName
|
||||||
|
delegateConf.DeviceID = deviceID
|
||||||
}
|
}
|
||||||
if net != nil && net.CNIArgs != nil {
|
if net != nil && net.CNIArgs != nil {
|
||||||
bytes, err = addCNIArgsInConfList(bytes, net.CNIArgs)
|
bytes, err = addCNIArgsInConfList(bytes, net.CNIArgs)
|
||||||
|
Loading…
Reference in New Issue
Block a user