diff options
author | Jürg Billeter <j@bitron.ch> | 2017-07-12 15:38:02 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2017-07-14 10:26:34 +0200 |
commit | 387b71ae7907b3138ad7ed60fcc48d7a12d00774 (patch) | |
tree | 50ade11cc1cbb1aee8955f68aff1d45d50db64f0 | |
parent | 277095f62203bd929b571180a66b12a5aec7364e (diff) | |
download | buildstream-dual-cache-keys.tar.gz |
pullqueue.py: Recalculate cache_key_from_artifact after pullingdual-cache-keys
-rw-r--r-- | buildstream/_scheduler/pullqueue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_scheduler/pullqueue.py b/buildstream/_scheduler/pullqueue.py index 6356acaa9..4a6cafc1c 100644 --- a/buildstream/_scheduler/pullqueue.py +++ b/buildstream/_scheduler/pullqueue.py @@ -47,7 +47,8 @@ class PullQueue(Queue): return False # return code is 0 even if artifact was unavailable - element._cached(recalculate=True) + if element._cached(recalculate=True): + element._get_cache_key_from_artifact(recalculate=True) # Element._pull() returns True if it downloaded an artifact, # here we want to appear skipped if we did not download. |