Skip to content

Commit f6d4f4d

Browse files
authored
Backport of Fix for cache context to save cache data in entries on context cancel into release/1.22.x (#23266)
Fix for cache context to save cache data in entries on context cancel
1 parent 8f5205a commit f6d4f4d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

agent/cache/cache.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,6 @@ func (c *Cache) fetch(ctx context.Context, key string, r getOptions, allowNew bo
676676
select {
677677
case <-handle.stopCh:
678678
return
679-
case <-ctx.Done():
680-
return
681679
default:
682680
}
683681

0 commit comments

Comments
 (0)