Skip to content

Commit

Permalink
Update go/vt/throttler/replication_lag_cache.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Lord <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt and mattlord authored Oct 4, 2024
1 parent e556e2f commit df59fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/throttler/replication_lag_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ func (c *replicationLagCache) maxLag() (maxLag uint32) {
continue
}

entry, ok := c.entries[key]
if !ok {
entry := c.entries[key]
if entry == nil {
continue
}

Expand Down

0 comments on commit df59fcf

Please sign in to comment.