alibaba/kt-connect

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

Summary

Maintainability
A
35 mins
Test Coverage

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

func Unset(args []string) error {
    if unsetAll {
        return saveConfig(make(map[string]map[string]string))
    }
    if len(args) < 1 {
Severity: Major
Found in pkg/kt/command/config/reset.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status