diff --git a/charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py b/charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py index 12352a87..d928ceae 100644 --- a/charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py +++ b/charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py @@ -304,7 +304,7 @@ class UserFacingDatastoreConfig(BaseModel, allow_population_by_field_name=True): client_key: client key of the external datastore cluster in PEM format. """ - type: Optional[str]] = Field(None) + type: Optional[str] = Field(None) servers: Optional[List[str]] = Field(None) ca_crt: Optional[str] = Field(None, alias="ca-crt") client_crt: Optional[str] = Field(None, alias="client-crt") diff --git a/tests/integration/test_etcd.py b/tests/integration/test_etcd.py index 545d96ab..d0e3c5f0 100644 --- a/tests/integration/test_etcd.py +++ b/tests/integration/test_etcd.py @@ -51,7 +51,7 @@ async def test_update_etcd_cluster(kubernetes_cluster: model.Model): count = 3 - len(etcd.units) if count > 0: await etcd.add_unit(count=count) - await kubernetes_cluster.wait_for_idle(status="active", timeout=20*60) + await kubernetes_cluster.wait_for_idle(status="active", timeout=20 * 60) expected_servers = [] for u in etcd.units: