Zanzana: Use shared auth interceptor for zanzana and pass tracer (#100968)

* Use shared auth interceptor for zanzana and pass tracer
This commit is contained in:
Karl Persson
2025-02-20 16:07:06 +01:00
committed by GitHub
parent 74e621f377
commit 14886410d6
11 changed files with 48 additions and 55 deletions
@@ -11,7 +11,7 @@ import (
)
func (s *Server) BatchCheck(ctx context.Context, r *authzextv1.BatchCheckRequest) (*authzextv1.BatchCheckResponse, error) {
ctx, span := tracer.Start(ctx, "server.BatchCheck")
ctx, span := s.tracer.Start(ctx, "server.BatchCheck")
defer span.End()
if err := authorize(ctx, r.GetNamespace()); err != nil {