cyberark/secretless-broker

View on GitHub
internal/configurationmanagers/kubernetes/crd/crd_watcher.go

Summary

Maintainability
A
35 mins
Test Coverage
F
0%

Function RegisterCRDListener has 8 return statements (exceeds 7 allowed).
Open

func RegisterCRDListener(namespace string, configSpec string, resourceEventHandler ResourceEventHandler) error {
    log.Printf("%s: Registering CRD watcher...", PluginName)

    clientConfig, err := NewKubernetesConfig()
    if err != nil {
Severity: Major
Found in internal/configurationmanagers/kubernetes/crd/crd_watcher.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status