From 437f2f852f41726a5c70d9649dbc43d2c2311be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=AE=87?= Date: Thu, 9 May 2019 16:38:45 +1200 Subject: [PATCH] Rm duplicate code. --- pkg/transport/manager.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/transport/manager.go b/pkg/transport/manager.go index 6d00fe9b7f..2498c3bd51 100644 --- a/pkg/transport/manager.go +++ b/pkg/transport/manager.go @@ -185,9 +185,6 @@ func (tm *Manager) CreateDefaultTransports(ctx context.Context) { // Serve runs listening loop across all registered factories. func (tm *Manager) Serve(ctx context.Context) error { - tm.ReconnectTransports(ctx) - tm.CreateDefaultTransports(ctx) - var wg sync.WaitGroup for _, factory := range tm.factories { wg.Add(1)