From 6e4067f84e2fdfb3b3752ff69a379e2cdfc57b39 Mon Sep 17 00:00:00 2001 From: Travis Holloway Date: Tue, 14 Jan 2025 14:31:58 -0600 Subject: [PATCH] Remove experimental status for u20->u22 upgrades Case RE-1160: Remove experimental status for u20->u22 upgrades Changelog: Remove experimental status for u20->u22 upgrades --- elevate-cpanel | 2 +- lib/Elevate/OS/Ubuntu20.pm | 2 +- t/is_experimental.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elevate-cpanel b/elevate-cpanel index bf5c4a48..fb15fd55 100755 --- a/elevate-cpanel +++ b/elevate-cpanel @@ -7403,7 +7403,7 @@ deb https://wp-toolkit.plesk.com/cPanel/Ubuntu-22.04-x86_64/latest/thirdparty/ . use constant ea_alias => 'Ubuntu_22.04'; use constant expected_post_upgrade_major => 22; - use constant is_experimental => 1; + use constant is_experimental => 0; use constant name => 'Ubuntu20'; use constant original_os_major => 20; use constant pretty_name => 'Ubuntu 20.04'; diff --git a/lib/Elevate/OS/Ubuntu20.pm b/lib/Elevate/OS/Ubuntu20.pm index 73bbee2b..da4e8488 100644 --- a/lib/Elevate/OS/Ubuntu20.pm +++ b/lib/Elevate/OS/Ubuntu20.pm @@ -67,7 +67,7 @@ use constant default_upgrade_to => 'Ubuntu'; use constant ea_alias => 'Ubuntu_22.04'; use constant expected_post_upgrade_major => 22; -use constant is_experimental => 1; +use constant is_experimental => 0; use constant name => 'Ubuntu20'; use constant original_os_major => 20; use constant pretty_name => 'Ubuntu 20.04'; diff --git a/t/is_experimental.t b/t/is_experimental.t index 45c4531d..f68b2e81 100644 --- a/t/is_experimental.t +++ b/t/is_experimental.t @@ -23,7 +23,7 @@ use Test::Elevate; my %os_designation = ( cent => 0, cloud => 0, - ubuntu => 1, + ubuntu => 0, ); foreach my $os ( sort keys %os_designation ) {