Fix cache example (#64600)
This commit is contained in:
parent
d9db2c3354
commit
7a26aff357
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ Now that you've enabled caching, loaded the correct plugin, and retrieved a uniq
|
|||
# This occurs if the cache_key is not in the cache or if the cache_key expired, so the cache needs to be updated
|
||||
cache_needs_update = True
|
||||
|
||||
if cache_needs_updates:
|
||||
if cache_needs_update:
|
||||
results = self.get_inventory()
|
||||
|
||||
# set the cache
|
||||
|
|
Loading…
Reference in a new issue