firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/openvpn/client/client.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Client.get has 6 return statements (exceeds 4 allowed).
Open

func (c *Client) get(command string, stopRead stopReadFunc) (output []string, err error) {
    var num int
    var maxLinesErr error
    err = c.Command(command, func(bytes []byte) bool {
        line := string(bytes)
Severity: Major
Found in src/go/plugin/go.d/modules/openvpn/client/client.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status