Skip to content

Commit

Permalink
Fix log identifier of service-cloudscale-lb-validator webhook (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan authored Sep 9, 2024
1 parent 6454ded commit 3656c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhooks/service_cloudscale_lb_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3656c75

Please sign in to comment.