horizoncd/horizon

View on GitHub
pkg/environment/manager/manager.go

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Showing 1 of 1 total issue

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

type Manager interface {
// CreateEnvironment create a environment
CreateEnvironment(ctx context.Context, environment *models.Environment) (*models.Environment, error)
// ListAllEnvironment list all environments
ListAllEnvironment(ctx context.Context) ([]*models.Environment, error)
Severity: Major
Found in pkg/environment/manager/manager.go and 1 other location - About 3 hrs to fix
pkg/environment/dao/dao.go on lines 29..42

There are no issues that match your filters.

Category
Status