From 9cb506cfc94b18465790dcc9ceeb1d00d9fbccfe Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 2 Dec 2020 14:51:03 +0000 Subject: [PATCH] Fix for Go 1.13 --- internal/setup/federation.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/setup/federation.go b/internal/setup/federation.go index ac3484ef4..7e9a22b33 100644 --- a/internal/setup/federation.go +++ b/internal/setup/federation.go @@ -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() {