summaryrefslogtreecommitdiff
path: root/src/buildstream/_artifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_artifactcache.py')
-rw-r--r--src/buildstream/_artifactcache.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buildstream/_artifactcache.py b/src/buildstream/_artifactcache.py
index de17ea7ac..4a502064f 100644
--- a/src/buildstream/_artifactcache.py
+++ b/src/buildstream/_artifactcache.py
@@ -469,15 +469,18 @@ class ArtifactCache(BaseCache):
push_remotes = [r for r in self._remotes[project] if r.spec.push]
- remote_missing_blobs_set = set()
+ remote_missing_blobs_list = []
for remote in push_remotes:
remote.init()
remote_missing_blobs = self.cas.remote_missing_blobs(remote, missing_blobs)
- remote_missing_blobs_set.update(remote_missing_blobs)
- return list(remote_missing_blobs_set)
+ for blob in remote_missing_blobs:
+ if blob not in remote_missing_blobs_list:
+ remote_missing_blobs_list.append(blob)
+
+ return remote_missing_blobs_list
################################################
# Local Private Methods #