ssh/keys.go

Summary

Maintainability
A
40 mins
Test Coverage

Function EnsureKeysAvailable has 6 return statements (exceeds 4 allowed).
Open

func EnsureKeysAvailable(identities []string) (bool, error) {
    if len(identities) == 0 {
        return false, nil
    }

Severity: Major
Found in ssh/keys.go - About 40 mins to fix

    exported function EnsureKeysAvailable should have comment or be unexported
    Open

    func EnsureKeysAvailable(identities []string) (bool, error) {
    Severity: Minor
    Found in ssh/keys.go by golint

    There are no issues that match your filters.

    Category
    Status