Skip to content

Commit

Permalink
fix: The logger had an odd number of arguments, making it panic (kube…
Browse files Browse the repository at this point in the history
…flow#2166)

Signed-off-by: tcassaert <[email protected]>
  • Loading branch information
tcassaert authored Sep 13, 2024
1 parent 7785107 commit eb48b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/sparkapplication/driveringress.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit eb48b34

Please sign in to comment.