From 678f61b8d3a4ce4443a49983f7deae9c80ad8983 Mon Sep 17 00:00:00 2001 From: Etienne Lafarge Date: Tue, 29 Jul 2025 23:55:27 +0200 Subject: [PATCH] chore(reposerver): Remove last occurrences of deprecated otelgrpc interceptors (#23921) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Étienne Lafarge --- reposerver/server.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/reposerver/server.go b/reposerver/server.go index 1c0ff668a2..aafad1f907 100644 --- a/reposerver/server.go +++ b/reposerver/server.go @@ -66,13 +66,11 @@ func NewServer(metricsServer *metrics.MetricsServer, cache *reposervercache.Cach serverLog := log.NewEntry(log.StandardLogger()) streamInterceptors := []grpc.StreamServerInterceptor{ - otelgrpc.StreamServerInterceptor(), //nolint:staticcheck // TODO: ignore SA1019 for depreciation: see https://github.com/argoproj/argo-cd/issues/18258 logging.StreamServerInterceptor(grpc_util.InterceptorLogger(serverLog)), serverMetrics.StreamServerInterceptor(), recovery.StreamServerInterceptor(recovery.WithRecoveryHandler(grpc_util.LoggerRecoveryHandler(serverLog))), } unaryInterceptors := []grpc.UnaryServerInterceptor{ - otelgrpc.UnaryServerInterceptor(), //nolint:staticcheck // TODO: ignore SA1019 for depreciation: see https://github.com/argoproj/argo-cd/issues/18258 logging.UnaryServerInterceptor(grpc_util.InterceptorLogger(serverLog)), serverMetrics.UnaryServerInterceptor(), recovery.UnaryServerInterceptor(recovery.WithRecoveryHandler(grpc_util.LoggerRecoveryHandler(serverLog))),