feat(amazon): support amazon linux 2022 (#1338)

This commit is contained in:
MaineK00n
2021-12-09 11:06:44 +09:00
committed by GitHub
parent 0c6a892893
commit 2b7294a504
8 changed files with 61 additions and 33 deletions

View File

@@ -45,6 +45,14 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) {
extEnded: false,
found: true,
},
{
name: "amazon linux 2022 supported",
fields: fields{family: Amazon, release: "2022 (Amazon Linux)"},
now: time.Date(2023, 7, 1, 23, 59, 59, 0, time.UTC),
stdEnded: false,
extEnded: false,
found: true,
},
//RHEL
{
name: "RHEL7 supported",