Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Update doozerlib/osbs2_builder.py
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Meyer <sosiouxme@gmail.com>
  • Loading branch information
locriandev and sosiouxme committed Sep 29, 2022
1 parent 159d9c6 commit 5575d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/osbs2_builder.py
Expand Up @@ -101,7 +101,7 @@ def build(self, image: "image.ImageMetadata", profile: Dict, retries: int = 3):
# Get build_id and build_info
if self.dry_run:
build_id = 0
build_info = {"id": build_id, "nvr": f"{dg.name}-container-{dg.org_version}-{dg.org_release}"}
build_info = {"id": build_id, "nvr": f"{dg.metadata.get_component_name()}-{dg.org_version}-{dg.org_release}"}
elif not build_info:
# Unlike rpm build, koji_api.listBuilds(taskID=...) doesn't support image build.
# For now, let's use a different approach.
Expand Down

0 comments on commit 5575d3b

Please sign in to comment.