server/pkg/publisher/repository.go

Summary

Maintainability
A
35 mins
Test Coverage
F
0%

Method S3Repository.GenPrivKeys has 5 return statements (exceeds 4 allowed).
Open

func (repository *S3Repository) GenPrivKeys() error {
    if _, err := repository.TufRepo.GenKey("root"); err != nil {
        return fmt.Errorf("error generating tuf repository root key: %w", err)
    }

Severity: Major
Found in server/pkg/publisher/repository.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status