fix(config): fix the order of the enum
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user