fix(amazon): use major version for checking eol, security advisories (#1873)
This commit is contained in:
@@ -814,6 +814,10 @@ func Test_getAmazonLinuxVersion(t *testing.T) {
|
||||
release: "2023",
|
||||
want: "2023",
|
||||
},
|
||||
{
|
||||
release: "2023.3.20240312",
|
||||
want: "2023",
|
||||
},
|
||||
{
|
||||
release: "2025",
|
||||
want: "2025",
|
||||
|
||||
Reference in New Issue
Block a user