From 2ff93c65f3096660cfcad968c15d104b164b13e3 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 7 Sep 2018 15:18:08 +0200 Subject: [PATCH] fix build error --- transport/internet/dialer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/dialer.go b/transport/internet/dialer.go index 29051a02..5dcf2586 100644 --- a/transport/internet/dialer.go +++ b/transport/internet/dialer.go @@ -33,7 +33,7 @@ func Dial(ctx context.Context, dest net.Destination) (Connection, error) { ctx = ContextWithStreamSettings(ctx, streamSettings) } - protocol = streamSettings.ProtocolName + protocol := streamSettings.ProtocolName dialer := transportDialerCache[protocol] if dialer == nil { return nil, newError(protocol, " dialer not registered").AtError()