horizoncd/horizon

View on GitHub
core/http/api/v2/access/routers.go

Summary

Maintainability
A
45 mins
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 3 locations. Consider refactoring.
Open

// Copyright © 2023 Horizoncd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Severity: Major
Found in core/http/api/v2/access/routers.go and 2 other locations - About 45 mins to fix
core/http/api/v2/role/routers.go on lines 1..36
core/http/api/v2/scope/routers.go on lines 1..36
Category
Status