mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-25 19:44:28 +00:00
Fix missing device-info in networks-status annotation for chained plugins
This commit is contained in:
parent
8bbb594dad
commit
2bf8dae9a8
@ -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