From 3c239ad661dc26415b8200daaf9348728f20df80 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 7 Dec 2024 08:05:38 -0700 Subject: [PATCH] Improve comment Co-authored-by: lemeurherveCB <137290663+lemeurherveCB@users.noreply.github.com> --- updatecli/scripts/ubi9-latest-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatecli/scripts/ubi9-latest-tag.sh b/updatecli/scripts/ubi9-latest-tag.sh index 8030fd03f..d1a861fbc 100755 --- a/updatecli/scripts/ubi9-latest-tag.sh +++ b/updatecli/scripts/ubi9-latest-tag.sh @@ -27,7 +27,7 @@ if ! command -v jq >/dev/null 2>&1 || ! command -v curl >/dev/null 2>&1; then exit 1 fi -# Fetch the tags using curl, for `ubi9`, in the `registry.access.redhat.com`, sorted by last update date descending, and keeping only the first page. +# Fetch `ubi9` from registry.access.redhat.com sorted by most recent update date, and keeping only the first page. response=$(curl --silent --fail --location --connect-timeout 10 --retry 3 --retry-delay 2 --max-time 30 --header 'accept: application/json' "$URL") # Check if the response is empty or null