fix: test cli add service
Deploy / deploy (push) Canceled after 0s

This commit is contained in:
Benjamin Labrecque
2026-07-22 12:25:02 +02:00
parent 9280222636
commit 63f682c058
4 changed files with 14 additions and 49 deletions
+5 -5
View File
@@ -30,11 +30,11 @@ class ServicesContext(BaseModel):
"""Creates an in-memory backup of all configs for rollback."""
return ServicesContext(
paths=self.paths,
service_registry=self.service_registry.model_copy(),
master_hla_names=self.master_hla_names.model_copy(),
iocs_overview=self.iocs_overview.model_copy(),
master_ioc_subs=self.master_ioc_subs.model_copy(),
service_manager_ui=self.service_manager_ui.model_copy(),
service_registry=self.service_registry.model_copy(deep=True),
master_hla_names=self.master_hla_names.model_copy(deep=True),
iocs_overview=self.iocs_overview.model_copy(deep=True),
master_ioc_subs=self.master_ioc_subs.model_copy(deep=True),
service_manager_ui=self.service_manager_ui.model_copy(deep=True),
)
def restore_snapshot(self, snapshot: Dict[str, Any]) -> None: