Skip to content

Commit

Permalink
change default channel for buildContainer to container-binary
Browse files Browse the repository at this point in the history
* CLOUDBLD-11183

Signed-off-by: Robert Cerven <rcerven@redhat.com>
  • Loading branch information
rcerven committed Oct 3, 2022
1 parent 3bef006 commit ad63ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion koji_containerbuild/plugins/hub_containerbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _get_task_opts_and_opts(opts, priority, channel):


@export
def buildContainer(src, target, opts=None, priority=None, channel='container'):
def buildContainer(src, target, opts=None, priority=None, channel='container-binary'):
"""Create a container build task
:param str src: The source URI for this container.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hub_containerbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def mocked_koji_context(admin_perms=False):


def mocked_kojihub_for_task(src, target, opts,
priority=None, channel='container',
priority=None, channel='container-binary',
should_receive_task=True, build_type='buildContainer'):
"""
Mock koji-hub for testing hub_containerbuild (replace
Expand Down

0 comments on commit ad63ff2

Please sign in to comment.