vorteil/direktiv

View on GitHub
pkg/mirror/source.go

Summary

Maintainability
A
45 mins
Test Coverage

Function GetSource has 7 return statements (exceeds 4 allowed).
Open

func GetSource(_ context.Context, cfg *datastore.MirrorConfig) (Source, error) {
    insecureSkipTLS := cfg.Insecure
    tempDir := ""

    if cfg.AuthToken == "" {
Severity: Major
Found in pkg/mirror/source.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status