Fix for Go 1.13

This commit is contained in:
Neil Alexander 2020-12-02 14:51:03 +00:00
parent b6dfdef80d
commit 9cb506cfc9
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -18,9 +18,6 @@ var noOpHTTPTransport = &http.Transport{
DialTLS: func(_, _ string) (net.Conn, error) {
return nil, fmt.Errorf("federation prohibited by configuration")
},
DialTLSContext: func(_ context.Context, _, _ string) (net.Conn, error) {
return nil, fmt.Errorf("federation prohibited by configuration")
},
}
func init() {