diff options
author | Jürg Billeter <j@bitron.ch> | 2020-08-04 16:49:10 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-08-06 07:10:28 +0200 |
commit | 5c1468e7ebfeddb695eb754b606099468dcea98a (patch) | |
tree | ad590bb977ce537425564e7451bee3b8df868de7 /tests/frontend/track.py | |
parent | 7a9dd098efa6d5070455f432e2557a321b2dfd76 (diff) | |
download | buildstream-5c1468e7ebfeddb695eb754b606099468dcea98a.tar.gz |
source.py: Validate cache when it's used, not in `_is_cached()`
`_is_cached()` is indirectly called by the frontend, which is not
optimal for handling per-plugin errors. Instead, call `validate_cache()`
right before the cache is used: in fetch jobs and when opening a
workspace.
Diffstat (limited to 'tests/frontend/track.py')
0 files changed, 0 insertions, 0 deletions