clan-cli: cleanup broken deployment cache

This commit is contained in:
Qubasa
2025-03-10 18:34:38 +01:00
committed by lassulus
parent 60d56c4e3b
commit 047b767054
2 changed files with 38 additions and 3 deletions

View File

@@ -64,12 +64,9 @@ class Machine:
@property
def deployment(self) -> dict:
if self.cached_deployment is not None:
return self.cached_deployment
deployment = json.loads(
self.build_nix("config.system.clan.deployment.file").read_text()
)
self.cached_deployment = deployment
return deployment
@property