From 3656c759172ba79404a2f9b0037106b670755df5 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Mon, 9 Sep 2024 11:35:52 +0200 Subject: [PATCH] Fix log identifier of `service-cloudscale-lb-validator` webhook (#128) --- webhooks/service_cloudscale_lb_validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhooks/service_cloudscale_lb_validator.go b/webhooks/service_cloudscale_lb_validator.go index 46b396e..06225fe 100644 --- a/webhooks/service_cloudscale_lb_validator.go +++ b/webhooks/service_cloudscale_lb_validator.go @@ -28,7 +28,7 @@ type ServiceCloudscaleLBValidator struct { // Handle handles the admission requests func (v *ServiceCloudscaleLBValidator) Handle(ctx context.Context, req admission.Request) admission.Response { ctx = log.IntoContext(ctx, log.FromContext(ctx). - WithName("webhook.validate-namespace-quota.appuio.io"). + WithName("webhook.service-cloudscale-lb-validator.appuio.io"). WithValues("id", req.UID, "user", req.UserInfo.Username). WithValues("namespace", req.Namespace, "name", req.Name, "group", req.Kind.Group, "version", req.Kind.Version, "kind", req.Kind.Kind))