secureCodeBox/secureCodeBox

View on GitHub
operator/main.go

Summary

Maintainability
A
1 hr
Test Coverage

Function main has 68 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func main() {
    var metricsAddr string
    var enableLeaderElection bool
    var probeAddr string
    flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
Severity: Minor
Found in operator/main.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status