From 04ab7180d559a7b4e5a7ea7a8320b54108f96eb7 Mon Sep 17 00:00:00 2001 From: Evan Lin Date: Thu, 1 Aug 2019 00:55:48 +0800 Subject: [PATCH] Fix incorrect logic in transport manager. --- pkg/transport/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/transport/manager.go b/pkg/transport/manager.go index ef0adc702a..d1885b2fc4 100644 --- a/pkg/transport/manager.go +++ b/pkg/transport/manager.go @@ -138,7 +138,7 @@ func (tm *Manager) reconnectTransports(ctx context.Context) { continue } - if !tm.IsSetupPK(remote) { + if tm.IsSetupPK(remote) { continue }