kubenetworks/kubevpn

View on GitHub
pkg/dns/dns_windows.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Config.SetupDNS has 6 return statements (exceeds 4 allowed).
Open

func (c *Config) SetupDNS(ctx context.Context) error {
    clientConfig := c.Config
    tunName := c.TunName

    tun, err := net.InterfaceByName(tunName)
Severity: Major
Found in pkg/dns/dns_windows.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status