summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-02-01 14:03:31 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-02-01 14:04:30 +0530
commit0a8183e3bf5dedb4fb546aa3930a88e5f3136240 (patch)
treee9488fc79278dd0bf90c7da71e15f92d72480d53
parent59b482261936111a9120f4576fcb5e4e1e32d72e (diff)
cerbero: Fix typo in upload-cache
Committing this directly because it's causing the cache to not be built, and CI can't catch issues with this code anyway. Fallout from https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/790
-rw-r--r--cerbero/commands/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/commands/cache.py b/cerbero/commands/cache.py
index ee918939..920f2a76 100644
--- a/cerbero/commands/cache.py
+++ b/cerbero/commands/cache.py
@@ -250,7 +250,7 @@ class UploadCache(BaseCache):
return path
def upload_dep(self, config, args, deps):
- sha = self.get_git_sha(args)
+ sha = self.get_git_sha(args.commit)
for dep in deps:
if dep['commit'] == sha:
m.message('Cache already uploaded for this commit.')