Skip to content

Commit

Permalink
fix: logs need key pair values as input
Browse files Browse the repository at this point in the history
  • Loading branch information
karlderkaefer committed Jan 22, 2024
1 parent d18cdc5 commit 2f49d66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/endpointmonitor_created.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
)

func (r *EndpointMonitorReconciler) handleCreate(request reconcile.Request, instance *endpointmonitorv1alpha1.EndpointMonitor, monitorName string, monitorService *monitors.MonitorServiceProxy) error {
log := r.Log.WithValues("endpointMonitor")
log := r.Log.WithValues("Namespace", instance.ObjectMeta.Namespace)

log.Info("Creating Monitor: "+monitorName, "Namespace", instance.ObjectMeta.Namespace, "MonitorType", monitorService.GetType())
log.Info("Creating Monitor: "+monitorName, "MonitorType", monitorService.GetType())

url, err := util.GetMonitorURL(r.Client, instance)
if err != nil {
Expand Down

0 comments on commit 2f49d66

Please sign in to comment.