Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Feb 24, 2025
1 parent a0a830c commit 469cf00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtorc/logic/keyspace_shard_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ func shouldWatchShard(shard *topo.ShardInfo) bool {

shardRanges, err := key.ParseShardingSpec(shard.ShardName())
if err != nil {
// This should never happen because we parse shard
// names when building shardsToWatch.
// This parse should never fail because we get the shard names
// from the topo using ts.FindAllShardsInKeyspace().
log.Error(err)
return false
}
Expand Down

0 comments on commit 469cf00

Please sign in to comment.