Skip to content

Commit

Permalink
fixup! Add a script to help users generate os_images and release_images
Browse files Browse the repository at this point in the history
  • Loading branch information
nocturnalastro committed Mar 26, 2024
1 parent 3983751 commit a157ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/generate_os_release_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

DEBUG = False

def getValues(ocp_version, arch):
def generate_image_values(ocp_version, arch):
rhcos = requests.get(
f"https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/{ocp_version.major}.{ocp_version.minor}"
)
Expand Down Expand Up @@ -122,7 +122,7 @@ def verify_urls(merged):
def main(ocp_versions, arch, verify):
results = []
for v in ocp_versions:
results.append(getValues(v, arch))
results.append(generate_image_values(v, arch))

if DEBUG:
print(results)
Expand Down

0 comments on commit a157ce2

Please sign in to comment.