chore: update logging text

This commit is contained in:
Jonas Kaninda
2024-11-18 10:05:08 +01:00
parent 8f8f9d4d6c
commit e2b9bda5ec

View File

@@ -48,7 +48,7 @@ func (gatewayServer GatewayServer) Initialize() *mux.Router {
duplicates := findDuplicateRouteNames(dynamicRoutes) duplicates := findDuplicateRouteNames(dynamicRoutes)
if len(duplicates) != 0 { if len(duplicates) != 0 {
for _, duplicate := range duplicates { for _, duplicate := range duplicates {
logger.Error("Duplicated route named was found: %s ", duplicate) logger.Error("Duplicated route name was found: %s ", duplicate)
} }
} }
m := gatewayServer.middlewares m := gatewayServer.middlewares