kubenetworks/kubevpn

View on GitHub
pkg/controlplane/processor.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Processor.ProcessFile has 5 return statements (exceeds 4 allowed).
Open

func (p *Processor) ProcessFile(file NotifyMessage) error {
    configList, err := ParseYaml(file.FilePath)
    if err != nil {
        p.logger.Errorf("error parsing yaml file: %+v", err)
        return err
Severity: Major
Found in pkg/controlplane/processor.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status