summaryrefslogtreecommitdiff
path: root/buildstream/_scheduler/pullqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_scheduler/pullqueue.py')
-rw-r--r--buildstream/_scheduler/pullqueue.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/buildstream/_scheduler/pullqueue.py b/buildstream/_scheduler/pullqueue.py
index 5630ef7c0..0d6b5dbfb 100644
--- a/buildstream/_scheduler/pullqueue.py
+++ b/buildstream/_scheduler/pullqueue.py
@@ -52,10 +52,7 @@ class PullQueue(Queue):
if not success:
return False
- if not result:
- element._pull_failed()
-
- element._update_state()
+ element._pull_done()
# Element._pull() returns True if it downloaded an artifact,
# here we want to appear skipped if we did not download.