Skip to content

Commit

Permalink
Fix (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin authored Jan 4, 2023
1 parent 71f1293 commit 78cdc62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/yurthub/app/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ func coordinatorRun(ctx context.Context,
var coordinatorHealthChecker healthchecker.HealthChecker
var coordinatorTransportMgr transport.Interface
var coordinator poolcoordinator.Coordinator
var coordinatorCertManager *coordinatorcertmgr.CertManager
var returnErr error

readyCh := make(chan struct{})
Expand All @@ -289,7 +288,7 @@ func coordinatorRun(ctx context.Context,
return
}

coorTransportMgr, err := poolCoordinatorTransportMgrGetter(cfg.HeartbeatTimeoutSeconds, cfg.CoordinatorServerURL, coordinatorCertManager, ctx.Done())
coorTransportMgr, err := poolCoordinatorTransportMgrGetter(cfg.HeartbeatTimeoutSeconds, cfg.CoordinatorServerURL, coorCertManager, ctx.Done())
if err != nil {
returnErr = fmt.Errorf("failed to create coordinator transport manager, %v", err)
return
Expand Down

0 comments on commit 78cdc62

Please sign in to comment.