Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
chr-stian committed Feb 12, 2024
1 parent 1bdb450 commit b99e5fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy_ng/tests/integration/utils/namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from .collections import delete_all_collections_in_namespace, \
delete_all_collections_in_namespace_gk
from .iqe_utils import fix_prefix_workaround

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -52,7 +53,7 @@ def get_all_namespaces(gc=None, api_version='v3'):
next_page = f'{api_version}/namespaces/'
while next_page:
# workaround
next_page = next_page.replace("/api/galaxy/", "/api/hub/")
next_page = fix_prefix_workaround(next_page)
resp = gc.get(next_page)
namespaces.extend(resp['data'])
next_page = resp.get('links', {}).get('next')
Expand Down

0 comments on commit b99e5fe

Please sign in to comment.