Skip to content

Commit

Permalink
storage/cacher: mark the addition of a metric for waitUntilFreshAndBl…
Browse files Browse the repository at this point in the history
…ock as completed
  • Loading branch information
p0lyn0mial committed Mar 5, 2024
1 parent 55d1518 commit 221ad9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,6 @@ func (c *Cacher) waitUntilWatchCacheFreshAndForceAllEvents(ctx context.Context,
c.watchCache.waitingUntilFresh.Add()
defer c.watchCache.waitingUntilFresh.Remove()
}
// TODO(p0lyn0mial): add a metric to track the number of times we have failed while waiting
err := c.watchCache.waitUntilFreshAndBlock(ctx, requestedWatchRV)
defer c.watchCache.RUnlock()
return err
Expand Down

0 comments on commit 221ad9f

Please sign in to comment.