diff --git a/pkg/types/conf.go b/pkg/types/conf.go index 36637875c..2a9cd0d87 100644 --- a/pkg/types/conf.go +++ b/pkg/types/conf.go @@ -80,6 +80,8 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st if err != nil { 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 { bytes, err = addCNIArgsInConfList(bytes, net.CNIArgs)