diff options
Diffstat (limited to 'buildstream/_artifactcache')
-rw-r--r-- | buildstream/_artifactcache/pushreceive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/pushreceive.py b/buildstream/_artifactcache/pushreceive.py index a1282d32d..b1705d8f0 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -155,7 +155,7 @@ class PushMessageWriter(object): for ref in refs: _, checksum = repo.resolve_rev(ref, True) if checksum: - _, has_object = repo.has_object(OSTree.ObjectType.COMMIT, ref, None) + _, has_object = repo.has_object(OSTree.ObjectType.COMMIT, checksum, None) if has_object: ref_map[ref] = checksum |