Add a nested comment indicating about an empty function
SonarCloud detected this as an issue because the comment
was outside of the function body, therefore the comment is
now inside the function body.
@@ -59,7 +59,7 @@ func NewNodeController(clientset kubecli.KubevirtClient, nodeInformer cache.Shar
c.vmiInformer.AddEventHandler(cache.ResourceEventHandlerFuncs{
AddFunc: c.addVirtualMachine,
- DeleteFunc: func(_ interface{}) {}, // nothing to do
+ DeleteFunc: func(_ interface{}) { /* nothing to do */ },
UpdateFunc: c.updateVirtualMachine,
})
