File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/director/src/simcore_service_director Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,9 @@ async def _list_repositories_gen(
274274
275275 while True :
276276 if "Link" in headers :
277- next_path = str (headers ["Link" ]).split (";" )[0 ].strip ("<>" )
277+ next_path = (
278+ str (headers ["Link" ]).split (";" )[0 ].strip ("<>" ).removeprefix ("/v2/" )
279+ )
278280 prefetch_task = asyncio .create_task (
279281 registry_request (app , path = next_path )
280282 )
@@ -301,7 +303,9 @@ async def list_image_tags_gen(
301303 tags , headers = await registry_request (app , path = path ) # initial call
302304 while True :
303305 if "Link" in headers :
304- next_path = str (headers ["Link" ]).split (";" )[0 ].strip ("<>" )
306+ next_path = (
307+ str (headers ["Link" ]).split (";" )[0 ].strip ("<>" ).removeprefix ("/v2/" )
308+ )
305309 prefetch_task = asyncio .create_task (
306310 registry_request (app , path = next_path )
307311 )
You can’t perform that action at this time.
0 commit comments