Fix logger for NotifyKubeApiInfraEnvEvent
A small change to fix the logged InfraEnv name.
Before the change:
"Pushing InfraEnv event %!s(*string=0xc0015903c0) spoke-cluster"
After the change:
"Pushing InfraEnv event myinfraenv spoke-cluster"
@@ -121,6 +121,6 @@ func (c *controllerEventsWrapper) NotifyKubeApiInfraEnvEvent(infraEnvId strfmt.U
return
}
- c.log.Debugf("Pushing InfraEnv event %s %s", ie.Name, ie.KubeKeyNamespace)
+ c.log.Debugf("Pushing InfraEnv event %s %s", swag.StringValue(ie.Name), ie.KubeKeyNamespace)
c.crdEventsHandler.NotifyInfraEnvUpdates(swag.StringValue(ie.Name), ie.KubeKeyNamespace)
}
