alibaba/kt-connect

View on GitHub
cmd/router/main.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func updateRoute(header, version, action string) error {
    ktConf, err := router.ReadKtConf()
    if err != nil {
        return err
    }
Severity: Major
Found in cmd/router/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status