summaryrefslogtreecommitdiff
path: root/buildstream/_scheduler/jobs/cachesizejob.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_scheduler/jobs/cachesizejob.py')
-rw-r--r--buildstream/_scheduler/jobs/cachesizejob.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_scheduler/jobs/cachesizejob.py b/buildstream/_scheduler/jobs/cachesizejob.py
index 6e4698af9..a96b92353 100644
--- a/buildstream/_scheduler/jobs/cachesizejob.py
+++ b/buildstream/_scheduler/jobs/cachesizejob.py
@@ -34,8 +34,8 @@ class CacheSizeJob(Job):
if status == JobStatus.OK:
self._artifacts.set_cache_size(result)
- if self._complete_cb:
- self._complete_cb(result)
+ if self._complete_cb:
+ self._complete_cb(status, result)
def child_process_data(self):
return {}