linter issue fixes

This commit is contained in:
dmitrijgulacenkov committed 2020-09-28 14:53:32 +03:00
1 parent 2f09c32d88
commit c46003d882
2 files changed
+12 -13

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ func InitRoutes(configs structure.RoutingConfig) {
AuthUserMethods = newAuthUserAddressMap
}
func addEndpointsToMaps(endpoints []structure.EndpointDescriptor, newAddressMap map[string]bool, newInnerAddressMap map[string]bool, newAuthUserAddressMap map[string]bool) {
func addEndpointsToMaps(endpoints []structure.EndpointDescriptor, newAddressMap map[string]bool, newInnerAddressMap map[string]bool, newAuthUserAddressMap map[string]bool) { //nolint
for _, el := range endpoints {
newAddressMap[el.Path] = true
if el.Inner {