kubenetworks/kubevpn

View on GitHub
pkg/dns/dns_linux.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func (c *Config) SetupDNS(ctx context.Context) error {
    config := c.Config
    tunName := c.TunName
    log.Debugf("Setting up DNS...")
    // TODO consider use https://wiki.debian.org/NetworkManager and nmcli to config DNS
Severity: Major
Found in pkg/dns/dns_linux.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status