alibaba/kt-connect

View on GitHub
pkg/kt/command/config/load.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func LoadProfile(args []string) error {
    if len(args) != 1 {
        return fmt.Errorf("must specifiy a profile name")
    }
    profile := profileFile(args[0])
Severity: Major
Found in pkg/kt/command/config/load.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status