Skip to content

Commit

Permalink
fix: create dict for writing TOML config file out
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jul 11, 2024
1 parent 05362f9 commit 9aa18f7
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 @@ -58,13 +58,13 @@ def from_config_file(cls) -> Self:
else: # Write the defaults to disk for next time
settings_dict = dict(
auth={
DEFAULT_PROFILE: AuthenticationConfig(),
DEFAULT_PROFILE: AuthenticationConfig().model_dump(),
},
profile={
DEFAULT_PROFILE: PlatformProfile(
auth=DEFAULT_PROFILE,
host="https://silverback.apeworx.io",
)
).model_dump()
},
)
PROFILE_PATH.parent.mkdir(exist_ok=True)
Expand Down

0 comments on commit 9aa18f7

Please sign in to comment.