Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
krhitesh7 committed Sep 28, 2024
1 parent 28c35a8 commit bfb5297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cache/v3/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bfb5297

Please sign in to comment.