koji_block_retired: Fix a bug in bodhi url
Signed-off-by: Lenka Segura <lsegura@redhat.com>
This commit is contained in:
parent
dba8da1dc6
commit
048ce44bbc
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class Bodhi:
|
||||||
Raises:
|
Raises:
|
||||||
toddlers.utils.exceptions.BodhiError when the issue couldn't be retrieved.
|
toddlers.utils.exceptions.BodhiError when the issue couldn't be retrieved.
|
||||||
"""
|
"""
|
||||||
api_url = f"{0}/list_releases/?name={branch}".format(self._bodhi_url)
|
api_url = "{0}/list_releases/?name={1}".format(self._bodhi_url, branch.upper())
|
||||||
log.debug("Retrieving branch info from bodhi.")
|
log.debug("Retrieving branch info from bodhi.")
|
||||||
response = self._requests_session.get(api_url)
|
response = self._requests_session.get(api_url)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue