Skip to content

Commit fdc6c82

Browse files
Midnightersimonbray
authored andcommitted
chore: remove outdated singularity URL
1 parent 9c1fdc3 commit fdc6c82

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

get_container_list.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ def fetch_all(
263263
def _fetch_images(client: httpx.Client, url: str) -> Optional[str]:
264264
"""Make a single GET request and return the response body as text."""
265265
response = client.get(url=url)
266-
# FIXME: It seems that 404 indicates no new images. Or is `new` an outdated path?
267-
if response.status_code == 404:
268-
return
269266
response.raise_for_status()
270267
return response.text
271268

@@ -335,12 +332,7 @@ def parse_args(argv: Optional[List[str]] = None) -> argparse.Namespace:
335332
help=f"The base URL for the quay.io API; must end with a '/' (default "
336333
f"'{default_quay_api}').",
337334
)
338-
default_singularity_urls = ",".join(
339-
[
340-
"https://depot.galaxyproject.org/singularity/new/",
341-
"https://depot.galaxyproject.org/singularity/",
342-
]
343-
)
335+
default_singularity_urls = "https://depot.galaxyproject.org/singularity/"
344336
parser.add_argument(
345337
"--singularity",
346338
metavar="URL[,URL]",

0 commit comments

Comments
 (0)