diff --git a/pkg/clusterconditions/cache/cache.go b/pkg/clusterconditions/cache/cache.go index 5d5802b16e..71e9b39274 100644 --- a/pkg/clusterconditions/cache/cache.go +++ b/pkg/clusterconditions/cache/cache.go @@ -116,6 +116,8 @@ func (c *Cache) Match(ctx context.Context, condition *configv1.ClusterCondition) detail = fmt.Sprintf(" (last evaluated on %s)", thiefResult.When) } klog.V(2).Infof("%s is the most stale cached cluster-condition match entry, but it is too fresh%s. However, we don't have a cached evaluation for %s, so attempt to evaluate that now.", thiefKey, detail, key) + thiefKey = key + targetCondition = condition } // if we ended up stealing this Match call, log that, to make contention more clear