Skip to content

Commit

Permalink
fix distro
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
chr-stian committed Mar 5, 2024
1 parent d7b9a2f commit 8dbafe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions galaxy_ng/tests/integration/api/rbac_actions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
get_galaxy_client, AnsibleConfigFixture
from galaxy_ng.tests.integration.utils.rbac_utils import create_local_image_container
from galaxykit.container_images import get_container, get_container_images_latest
from galaxykit.repositories import create_repository, create_distribution_v2
from galaxykit.repositories import create_repository, create_distribution

ansible_config = get_ansible_config()
CLIENT_CONFIG = ansible_config("admin")
Expand Down Expand Up @@ -434,7 +434,8 @@ def __init__(self, name, is_staging, is_private=False, add_collection=False):
pipeline=pipeline,
remote=None,
)
self._distro = create_distribution_v2(gc, name, self._repo["pulp_href"])
create_distribution(gc, name, self._repo["pulp_href"])
self._distro = {"base_path": name, "name": name, "repository": self._repo["pulp_href"]}

if add_collection:
self._add_collection()
Expand Down

0 comments on commit 8dbafe5

Please sign in to comment.