From eb48b349a1179467bae83c89d478bf55318e5713 Mon Sep 17 00:00:00 2001 From: tcassaert Date: Fri, 13 Sep 2024 11:24:23 +0200 Subject: [PATCH] fix: The logger had an odd number of arguments, making it panic (#2166) Signed-off-by: tcassaert --- internal/controller/sparkapplication/driveringress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/sparkapplication/driveringress.go b/internal/controller/sparkapplication/driveringress.go index 982ee8b03..7cf2af83b 100644 --- a/internal/controller/sparkapplication/driveringress.go +++ b/internal/controller/sparkapplication/driveringress.go @@ -212,7 +212,7 @@ func (r *Reconciler) createDriverIngressLegacy(app *v1beta2.SparkApplication, se if len(ingressTLSHosts) != 0 { ingress.Spec.TLS = convertIngressTLSHostsToLegacy(ingressTLSHosts) } - logger.Info("Creating extensions.v1beta1/Ingress for SparkApplication web UI", app.Name, "namespace", app.Namespace, "ingressName", ingress.Name) + logger.Info("Creating extensions.v1beta1/Ingress for SparkApplication web UI", "name", app.Name, "namespace", app.Namespace, "ingressName", ingress.Name) if err := r.client.Create(context.TODO(), ingress); err != nil { return nil, fmt.Errorf("failed to create ingress %s/%s: %v", ingress.Namespace, ingress.Name, err) }