Browse Source

fix build error

pull/1331/head
Darien Raymond 6 years ago
parent
commit
2ff93c65f3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      transport/internet/dialer.go

2
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()

Loading…
Cancel
Save