Skip to content

Commit

Permalink
fix(client): dump default profile.toml by alias (so it works)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Oct 10, 2024
1 parent 7bd78a3 commit 652a49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions silverback/cluster/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def from_config_file(cls) -> Self:
else: # Write the defaults to disk for next time
settings_dict = dict(
auth={
DEFAULT_PROFILE: AuthenticationConfig().model_dump(),
DEFAULT_PROFILE: AuthenticationConfig().model_dump(by_alias=True),
},
profile={
DEFAULT_PROFILE: PlatformProfile(
auth=DEFAULT_PROFILE,
host="https://silverback.apeworx.io",
).model_dump()
).model_dump(by_alias=True)
},
)
PROFILE_PATH.parent.mkdir(exist_ok=True)
Expand Down

0 comments on commit 652a49e

Please sign in to comment.