mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 00:03:09 -06:00
Fix for Go 1.13
This commit is contained in:
parent
b6dfdef80d
commit
9cb506cfc9
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue