horizoncd/horizon

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

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

Method manager.UpdateByName has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (m *manager) UpdateByName(ctx context.Context, resourceType string,
resourceID uint, name string, badge *models.Badge) (*models.Badge, error) {
Severity: Minor
Found in pkg/badge/manager/manager.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status