src/go/plugin/go.d/modules/x509check/provider.go
Method fromSMTP.certificates
has 5 return statements (exceeds 4 allowed). Open
Open
func (f fromSMTP) certificates() ([]*x509.Certificate, error) {
ipConn, err := net.DialTimeout(f.url.Scheme, f.url.Host, f.timeout)
if err != nil {
return nil, fmt.Errorf("error on dial to '%s': %v", f.url, err)
}