diff --git a/pkg/cache/v3/simple.go b/pkg/cache/v3/simple.go index 38218d752c..1386ddbc5b 100644 --- a/pkg/cache/v3/simple.go +++ b/pkg/cache/v3/simple.go @@ -930,9 +930,8 @@ func (cache *snapshotCache) CreateDeltaWatch(request *DeltaRequest, state stream delayedResponse := !exists if exists { hasResources := false - resources := snapshot.GetResources(request.GetTypeUrl()) + resources := snapshot.GetResourcesAndTTL(request.GetTypeUrl()) hasResources = resources != nil && len(resources) > 0 - fmt.Printf(fmt.Sprintf("hasResources for %s hasResources=%v\n", request.GetTypeUrl(), hasResources)) if hasResources { err := snapshot.ConstructVersionMap() if err != nil {