Skip to content
Snippets Groups Projects
Commit a705e332 authored by Eva Bardou's avatar Eva Bardou :frog: Committed by Yoann Schneider
Browse files

Remove unexpected log about the cache not being updated when the worker does not need it

parent b1c926e5
No related tags found
1 merge request!603Remove unexpected log about the cache not being updated when the worker does not need it
Pipeline #201195 passed
......@@ -380,7 +380,7 @@ def unsupported_cache(func):
def wrapper(self, *args, **kwargs):
results = func(self, *args, **kwargs)
if not (self.is_read_only or self.use_cache):
if self.use_cache:
logger.warning(
f"This API helper `{func.__name__}` did not update the cache database"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment