]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
find_git_parents: Fix githelper URL template 1979/head
authorZack Cerza <zack@redhat.com>
Fri, 19 Jul 2024 16:12:39 +0000 (10:12 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 19 Jul 2024 16:12:39 +0000 (10:12 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/suite/util.py

index 30994c27fad5275267ba6ea8c910c897dee874a2..8999f9eafc7eab27af499525cfc4fee1803f3ac7 100644 (file)
@@ -356,7 +356,7 @@ def find_git_parents(project: str, sha1: str, count=1):
                       project, resp.content.decode())
 
     def get_sha1s(project, committish, count):
-        url = f"base_url/{project}.git/history?committish={committish}&count={count}"
+        url = f"{base_url}/{project}.git/history?committish={committish}&count={count}"
         log.info(f"Looking for parent commits: {url}")
         resp = requests.get(url)
         resp.raise_for_status()