linter issue fixes
This commit is contained in:
1 parent
2f09c32d88
commit
c46003d882
2 files changed
+12
-13
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user