omissis/kube-apiserver-proxy

View on GitHub
internal/cmd/serve.go

Summary

Maintainability
A
50 mins
Test Coverage

Function NewServeCommand has 8 return statements (exceeds 4 allowed).
Open

func NewServeCommand(ctr *app.Container) *cobra.Command {
    cmd := &cobra.Command{
        Use:   "serve",
        Short: "Run kube-apiserver-proxy server",
        Args:  cobra.ExactArgs(0),
Severity: Major
Found in internal/cmd/serve.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status