Skip to content

Commit ed40e96

Browse files
authored
Actually use the cleaned up cache (#20703)
1 parent e2263bf commit ed40e96

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • robottelo/utils/issue_handlers

robottelo/utils/issue_handlers/jira.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ def _load_cache(self):
5353
logger.debug(f"Loading Jira cache from {self.cache_file}")
5454
data = json.loads(self.cache_file.read_text())
5555
self._clean_expired_entries(data)
56-
cache = data.get("issues", {})
57-
logger.debug(f"Loaded {len(cache)} entries from Jira cache")
58-
return cache
56+
logger.debug(f"Loaded {len(self.cache)} entries from Jira cache")
57+
return self.cache
5958
logger.debug("Jira cache file does not exist, using empty cache")
6059
return {}
6160

0 commit comments

Comments
 (0)