From b3f5f43260477c0ec840d219465ad563521e3e72 Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Tue, 5 Mar 2024 10:23:23 +0100 Subject: [PATCH] storage/cacher: mark the addition of a metric for waitUntilFreshAndBlock as completed Kubernetes-commit: 221ad9f7c25cc4da36e97c5feca3fc60bbe5bbfa --- pkg/storage/cacher/cacher.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/storage/cacher/cacher.go b/pkg/storage/cacher/cacher.go index 70e27daf0..819cf5669 100644 --- a/pkg/storage/cacher/cacher.go +++ b/pkg/storage/cacher/cacher.go @@ -1304,7 +1304,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