From: Zack Cerza Date: Fri, 19 Jul 2024 16:12:39 +0000 (-0600) Subject: find_git_parents: Fix githelper URL template X-Git-Tag: 1.2.0~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1979%2Fhead;p=teuthology.git find_git_parents: Fix githelper URL template Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite/util.py b/teuthology/suite/util.py index 30994c27f..8999f9eaf 100644 --- a/teuthology/suite/util.py +++ b/teuthology/suite/util.py @@ -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()