Skip to content

Commit

Permalink
Fix download url for RHCOS for non pre-release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedell committed Jan 30, 2024
1 parent b9c2d0e commit 7168eb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/download/rhcos.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ func Rhcos() error {
return err
}

versionMinor := utils.GetVersionMinor(utils.BundleData.OpenshiftVersion)
downloadURL := strings.Join(
[]string{utils.RhcosBaseURL, utils.BundleData.OpenshiftVersion, "latest", filename},
[]string{utils.RhcosBaseURL, versionMinor, "latest", filename},
"/",
)

Expand Down

0 comments on commit 7168eb7

Please sign in to comment.