Skip to content

Commit

Permalink
[FC-40064] skip serializing instances
Browse files Browse the repository at this point in the history
ci was broken for the nixos module context because it tried to serialize all instances of the test component,
one of which did not have a loaded environment which is why it was missing the deployment_base attribute
  • Loading branch information
PhilTaken committed Aug 29, 2024
1 parent fe4a2e0 commit 0ecaefa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- fix a mysterious regression that cause a test to fail
2 changes: 1 addition & 1 deletion src/batou_ext/nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def component_to_nix(component: Component):
pass
elif inspect.ismethod(value) or inspect.isgenerator(value):
pass
elif name in ("sub_components", "changed"):
elif name in ("sub_components", "changed", "instances"):
pass
elif isinstance(value, NixOSModuleContext):
pass
Expand Down

0 comments on commit 0ecaefa

Please sign in to comment.