chore: add route config check

This commit is contained in:
Jonas Kaninda
2024-11-18 13:06:35 +01:00
parent b545027969
commit acd10d45e8

View File

@@ -107,9 +107,7 @@ func checkRoutes(routes []Route, middlewares []Middleware) {
}
func middlewareNames(middlewares []Middleware) []string {
var names []string
names := []string{}
for _, mid := range middlewares {
names = append(names, mid.Name)