fix(checks/data-mesher): format, dont pass a duplicate data-mesher module
This commit is contained in:
@@ -28,7 +28,7 @@ let
|
||||
inherit (config) inventory;
|
||||
inherit flakeInputs;
|
||||
};
|
||||
machines = lib.mapAttrs (machineName: v: {
|
||||
machines = lib.mapAttrs (_machineName: v: {
|
||||
machineImports = v;
|
||||
}) config.distributedServices.allMachines;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ let
|
||||
inherit (instance) module;
|
||||
inherit resolvedModule instanceRoles;
|
||||
}
|
||||
) inventory.instances or {};
|
||||
) inventory.instances or { };
|
||||
|
||||
# TODO: Eagerly check the _class of the resolved module
|
||||
importedModulesEvaluated = lib.mapAttrs (
|
||||
|
||||
@@ -12,7 +12,7 @@ in
|
||||
test_inventory_a =
|
||||
let
|
||||
compiled = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
inventory = {
|
||||
machines = {
|
||||
A = { };
|
||||
@@ -42,7 +42,7 @@ in
|
||||
test_inventory_empty =
|
||||
let
|
||||
compiled = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
inventory = { };
|
||||
directory = ./.;
|
||||
};
|
||||
@@ -55,7 +55,7 @@ in
|
||||
test_inventory_role_resolve =
|
||||
let
|
||||
compiled = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -114,7 +114,7 @@ in
|
||||
test_inventory_tag_resolve =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -155,7 +155,7 @@ in
|
||||
test_inventory_multiple_roles =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -182,7 +182,7 @@ in
|
||||
test_inventory_module_doesnt_exist =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -209,7 +209,7 @@ in
|
||||
test_inventory_role_doesnt_exist =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -237,7 +237,7 @@ in
|
||||
test_inventory_tag_doesnt_exist =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
@@ -266,7 +266,7 @@ in
|
||||
test_inventory_disabled_service =
|
||||
let
|
||||
configs = buildInventory {
|
||||
flakeInputs = {};
|
||||
flakeInputs = { };
|
||||
directory = ./.;
|
||||
inventory = {
|
||||
modules = clan-core.clanModules;
|
||||
|
||||
Reference in New Issue
Block a user