Skip to content

Commit

Permalink
Rm duplicate code.
Browse files Browse the repository at this point in the history
  • Loading branch information
林志宇 committed May 9, 2019
1 parent 57b7a8d commit 437f2f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/transport/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 437f2f8

Please sign in to comment.