Skip to content

Commit

Permalink
fixup linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Apr 22, 2024
1 parent ce9e49f commit ea65aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_etcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ea65aa2

Please sign in to comment.