alibaba/kt-connect

View on GitHub
pkg/kt/command/connect/tun2socks.go

Summary

Maintainability
A
50 mins
Test Coverage

Function ByTun2Socks has 8 return statements (exceeds 4 allowed).
Open

func ByTun2Socks() error {
    podIP, podName, privateKeyPath, err := getOrCreateShadow()
    if err != nil {
        return err
    }
Severity: Major
Found in pkg/kt/command/connect/tun2socks.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status