Skip to content

Commit 28e2411

Browse files
authored
engine-schema: fix naming for AlmaLinux (#11011)
In PR #10773, 'AlmaLinux' was incorrectly written as 'Alma Linux' in the guest OS category name and OS classification. This PR corrects the naming to 'AlmaLinux'. Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 4a672fd commit 28e2411

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ BEGIN
101101

102102
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Fedora');
103103
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Rocky Linux');
104-
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Alma Linux');
104+
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('AlmaLinux');
105105

106106
-- Move existing guest OS to new categories
107107
DROP PROCEDURE IF EXISTS `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`;
@@ -120,7 +120,7 @@ BEGIN
120120
WHERE `display_name` LIKE CONCAT('%', os_name, '%')
121121
; END;
122122
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Rocky Linux', 'Rocky Linux');
123-
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Alma Linux', 'Alma Linux');
123+
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('AlmaLinux', 'AlmaLinux');
124124
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Fedora', 'Fedora');
125125

126126
-- Move existing guest OS whose category will be deleted to Other category
@@ -157,7 +157,7 @@ SET `sort_key` = CASE
157157
WHEN `name` = 'Fedora' THEN 3
158158
WHEN `name` = 'CentOS' THEN 4
159159
WHEN `name` = 'Rocky Linux' THEN 5
160-
WHEN `name` = 'Alma Linux' THEN 6
160+
WHEN `name` = 'AlmaLinux' THEN 6
161161
WHEN `name` = 'Oracle' THEN 7
162162
WHEN `name` = 'RedHat' THEN 8
163163
WHEN `name` = 'SUSE' THEN 9

0 commit comments

Comments
 (0)