diff --git a/k8sclient/k8sclient.go b/k8sclient/k8sclient.go index c07da2ba6..fe5b548af 100644 --- a/k8sclient/k8sclient.go +++ b/k8sclient/k8sclient.go @@ -345,7 +345,7 @@ func getKubernetesDelegate(client KubeClient, net *types.NetworkSelectionElement return nil, resourceMap, logging.Errorf("getKubernetesDelegate: failed to get the netplugin data: %v", err) } - // Get resourceName annotation from NetDefinition + // Get resourceName annotation from NetworkAttachmentDefinition deviceID := "" resourceName, ok := customResource.Metadata.Annotations[resourceNameAnnot] if ok && podID != "" {