From 86d3681d8da6a74174d2be0808be22bce046ede3 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Tue, 18 Jun 2024 16:20:48 +0900 Subject: [PATCH] fix(config/os): Fix EOL date of ubuntu 23.10 (#1972) cf. https://lists.ubuntu.com/archives/ubuntu-announce/2024-June/000302.html --- config/os.go | 2 +- config/os_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/os.go b/config/os.go index 82d102ce..dc59f00c 100644 --- a/config/os.go +++ b/config/os.go @@ -197,7 +197,7 @@ func GetEOL(family, release string) (eol EOL, found bool) { StandardSupportUntil: time.Date(2024, 1, 25, 23, 59, 59, 0, time.UTC), }, "23.10": { - StandardSupportUntil: time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC), + StandardSupportUntil: time.Date(2024, 7, 11, 23, 59, 59, 0, time.UTC), }, "24.04": { StandardSupportUntil: time.Date(2029, 6, 30, 23, 59, 59, 0, time.UTC), diff --git a/config/os_test.go b/config/os_test.go index df18d6e6..d37bfb26 100644 --- a/config/os_test.go +++ b/config/os_test.go @@ -366,7 +366,7 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) { { name: "Ubuntu 23.10 supported", fields: fields{family: Ubuntu, release: "23.10"}, - now: time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC), + now: time.Date(2024, 7, 11, 23, 59, 59, 0, time.UTC), found: true, stdEnded: false, extEnded: false,