From a840beb4e87b5afde7315b2c3c6b3f8d989739e9 Mon Sep 17 00:00:00 2001 From: Eliott Bouhana Date: Fri, 12 Jul 2024 11:49:42 +0200 Subject: [PATCH] oops I changed a public function that should make orchestrion CI fail Signed-off-by: Eliott Bouhana --- contrib/gin-gonic/gin/gintrace.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/gin-gonic/gin/gintrace.go b/contrib/gin-gonic/gin/gintrace.go index 1746c2689a..2738862c7d 100644 --- a/contrib/gin-gonic/gin/gintrace.go +++ b/contrib/gin-gonic/gin/gintrace.go @@ -30,7 +30,8 @@ func init() { // Middleware returns middleware that will trace incoming requests. If service is empty then the // default service name will be used. -func Middleware(service string, opts ...Option) gin.HandlerFunc { +func Middleware(opts ...Option) gin.HandlerFunc { + service := "" cfg := newConfig(service) for _, opt := range opts { opt(cfg)