fix(config): fix the order of the enum

This commit is contained in:
utox39
2025-07-15 02:19:56 +02:00
parent a18fd7ade8
commit 01ad39c0b5

View File

@@ -23,9 +23,9 @@ pub const ModuleType = enum {
ram, ram,
swap, swap,
disk, disk,
net,
terminal, terminal,
locale, locale,
net, // It must always be the last element of this array
}; };
pub fn getModulesTypes(allocator: std.mem.Allocator, config: ?std.json.Parsed(Config)) !std.ArrayList(ModuleType) { pub fn getModulesTypes(allocator: std.mem.Allocator, config: ?std.json.Parsed(Config)) !std.ArrayList(ModuleType) {