From d43907acd9be77bd03df5b81425ba791d02c88b7 Mon Sep 17 00:00:00 2001 From: Michael Demmer Date: Wed, 17 Apr 2024 08:57:06 -0700 Subject: [PATCH] comment nit Signed-off-by: Michael Demmer --- go/vt/vtgate/tabletgateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgate/tabletgateway.go b/go/vt/vtgate/tabletgateway.go index 085b9192205..1617896b5e0 100644 --- a/go/vt/vtgate/tabletgateway.go +++ b/go/vt/vtgate/tabletgateway.go @@ -381,7 +381,7 @@ func (gw *TabletGateway) shuffleTablets(cell string, tablets []*discovery.Tablet // Randomly shuffle the list of tablets, putting the same-cell hosts at the front // of the list and the other-cell hosts at the back // - // Only need to do n-1 swaps since the last host is always in the right place. + // Only need to do n-1 swaps since the last tablet is always in the right place. n := len(tablets) head := 0 tail := n - 1