This commit is contained in:
dmitrijgulacenkov committed 2020-10-03 11:55:34 +03:00
1 parent cdbd9d0e17
commit a8d346a617
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ func InitProxiesFromConfigs(configs structure.RoutingConfig) error {
func getPathsFromEndpoints(endpoints []structure.EndpointDescriptor) []string {
paths := make([]string, len(endpoints)-1)
for i, _ := range endpoints {
for i := range endpoints {
endpoint := endpoints[i]
paths = append(paths, endpoint.Path)
}