fix linter
This commit is contained in:
1 parent
2aff6210b5
commit
2d45f210db
1 file changed
+2
-1
+2
-1
@@ -14,7 +14,8 @@ func InitRoutes(configs structure.RoutingConfig) {
|
||||
newAddressMap := make(map[string]bool)
|
||||
newInnerAddressMap := make(map[string]bool)
|
||||
newAuthUserAddressMap := make(map[string]bool)
|
||||
for _, backend := range configs {
|
||||
for i := range configs {
|
||||
backend := &configs[i]
|
||||
if backend.Address.IP == "" || backend.Address.Port == "" || len(backend.Endpoints) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user