alibaba/kt-connect

View on GitHub
pkg/kt/command/connect.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func NewConnectCommand() *cobra.Command {
    cmd := &cobra.Command{
        Use:  "connect",
        Short: "Create a network tunnel to kubernetes cluster",
        PreRunE: func(cmd *cobra.Command, args []string) error {
Severity: Major
Found in pkg/kt/command/connect.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status