src/go/plugin/go.d/modules/tor/client.go
Method torControlClient.getInfo
has 6 return statements (exceeds 4 allowed). Open
Open
func (c *torControlClient) getInfo(keywords ...string) ([]byte, error) {
// https://spec.torproject.org/control-spec/commands.html#getinfo
if len(keywords) == 0 {
return nil, errors.New("no keywords specified")