diff --git a/cli/meta/roles/applications/bond/edit.py b/cli/meta/roles/applications/bond/edit.py index 808fda52a7..281128c99b 100644 --- a/cli/meta/roles/applications/bond/edit.py +++ b/cli/meta/roles/applications/bond/edit.py @@ -70,7 +70,9 @@ def set_bond(roles_dir: Path, role: str, service_key: str, bond: float | None) - if not path.is_file(): raise EditError(f"no such file: {path}") - raw = path.read_text(encoding="utf-8") # nocheck: cache-read — a cached read would serve the text from before the previous edit and silently revert it + raw = path.read_text( + encoding="utf-8" + ) # nocheck: cache-read — a cached read would serve the text from before the previous edit and silently revert it lines = raw.splitlines(keepends=True) start, end = _block(lines, service_key) diff --git a/roles/web-app-flowise/meta/services.yml b/roles/web-app-flowise/meta/services.yml index 6032c0d923..110c4d759d 100644 --- a/roles/web-app-flowise/meta/services.yml +++ b/roles/web-app-flowise/meta/services.yml @@ -127,4 +127,3 @@ container_backup: # nocheck: bond-baseline backup host joins outside the variant bond: 1 enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}" shared: true - diff --git a/roles/web-app-hermes/meta/services.yml b/roles/web-app-hermes/meta/services.yml index 84c84cacc9..51c3558129 100644 --- a/roles/web-app-hermes/meta/services.yml +++ b/roles/web-app-hermes/meta/services.yml @@ -95,4 +95,3 @@ container_backup: # nocheck: bond-baseline bond: 1 enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}" shared: true - diff --git a/roles/web-app-openclaw/meta/services.yml b/roles/web-app-openclaw/meta/services.yml index 7ddeff107f..10cfd62dba 100644 --- a/roles/web-app-openclaw/meta/services.yml +++ b/roles/web-app-openclaw/meta/services.yml @@ -89,4 +89,3 @@ container_backup: # nocheck: bond-baseline bond: 1 enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}" shared: true - diff --git a/roles/web-app-openwebui/meta/services.yml b/roles/web-app-openwebui/meta/services.yml index 93f785fa91..2898f3c4c3 100644 --- a/roles/web-app-openwebui/meta/services.yml +++ b/roles/web-app-openwebui/meta/services.yml @@ -108,4 +108,3 @@ container_backup: # nocheck: bond-baseline backup host joins outside the variant bond: 1 enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}" shared: true - diff --git a/tests/unit/python/cli/meta/roles/applications/bond/test_edit.py b/tests/unit/python/cli/meta/roles/applications/bond/test_edit.py index ce7e178e60..21eec53488 100644 --- a/tests/unit/python/cli/meta/roles/applications/bond/test_edit.py +++ b/tests/unit/python/cli/meta/roles/applications/bond/test_edit.py @@ -28,7 +28,9 @@ class TestSetBond(unittest.TestCase): self.addCleanup(self._tmp.cleanup) def read(self) -> str: - return self.path.read_text(encoding="utf-8") # nocheck: cache-read — re-reads the file set_bond just rewrote + return self.path.read_text( + encoding="utf-8" + ) # nocheck: cache-read — re-reads the file set_bond just rewrote def test_rewrites_the_value_in_place(self) -> None: self.assertEqual(set_bond(self.roles, "web-app-demo", "litellm", 0.25), "0.25")