txn2/kubefwd

View on GitHub
pkg/fwdhost/fwdhost.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func BackupHostFile(hostFile *txeh.Hosts) (string, error) {
    homeDirLocation, err := os.UserHomeDir()
    if err != nil {
        return "", err
    }
Severity: Major
Found in pkg/fwdhost/fwdhost.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status