chore: add route config check
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user