feat(inventory/instances): only warn if instances is populated
This commit is contained in:
@@ -343,7 +343,12 @@ in
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
default = { };
|
default = { };
|
||||||
apply = lib.warn "Inventory.instances and related features are still under development. Please use with care.";
|
apply =
|
||||||
|
v:
|
||||||
|
if v == { } then
|
||||||
|
v
|
||||||
|
else
|
||||||
|
lib.warn "Inventory.instances and related features are still under development. Please use with care." v;
|
||||||
};
|
};
|
||||||
services = lib.mkOption {
|
services = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user