kubenetworks/kubevpn

View on GitHub
pkg/controlplane/main.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Main has 5 return statements (exceeds 4 allowed).
Open

func Main(ctx context.Context, filename string, port uint, logger *log.Logger) error {
    snapshotCache := cache.NewSnapshotCache(false, cache.IDHash{}, logger)
    proc := NewProcessor(snapshotCache, logger)

    errChan := make(chan error, 2)
Severity: Major
Found in pkg/controlplane/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status