Skip to content

Commit

Permalink
fix oldest version for ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
theleeeo committed Dec 21, 2023
1 parent 3640168 commit 6e3875c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongobin/downloadSpec.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func osNameFromUbuntuRelease(majorVersion int, mongoVersion []int) string {
if majorVersion >= 22 && versionGTE(mongoVersion, []int{6, 0, 4}) {
return "ubuntu2204"
}
if majorVersion >= 20 && versionGTE(mongoVersion, []int{4, 0, 1}) {
if majorVersion >= 20 && versionGTE(mongoVersion, []int{4, 4, 0}) {
return "ubuntu2004"
}
if majorVersion >= 18 && versionGTE(mongoVersion, []int{4, 0, 1}) {
Expand Down

0 comments on commit 6e3875c

Please sign in to comment.