firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/openvpn_status_log/parser.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func parse(path string) ([]clientInfo, error) {
    f, err := os.Open(path)
    if err != nil {
        return nil, err
    }
Severity: Major
Found in src/go/plugin/go.d/modules/openvpn_status_log/parser.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status