Skip to content

Commit

Permalink
simplify updateHealthCheckCells signature
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Aug 8, 2024
1 parent 79133af commit c72ff66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (ts *txThrottlerStateImpl) closeHealthCheckStream() {
ts.healthCheck.Close()
}

func (ts *txThrottlerStateImpl) updateHealthCheckCells(topoServer *topo.Server, target *querypb.Target) (err error) {
func (ts *txThrottlerStateImpl) updateHealthCheckCells(topoServer *topo.Server, target *querypb.Target) error {
fetchCtx, cancel := context.WithTimeout(ts.ctx, topo.RemoteOperationTimeout)
defer cancel()

Expand Down

0 comments on commit c72ff66

Please sign in to comment.