From 2bf8dae9a8e244fd376fe3122c79341e5bb02466 Mon Sep 17 00:00:00 2001 From: mmirecki Date: Tue, 21 Jun 2022 14:47:04 +0200 Subject: [PATCH] Fix missing device-info in networks-status annotation for chained plugins --- pkg/types/conf.go | 2 ++ 1 file changed, 2 insertions(+) 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)