diff options
author | Jason Robinson <jasonr@element.io> | 2021-10-22 13:00:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 12:00:52 +0200 |
commit | b9ce53e8785d6f0dba6a3efcd708e4a185c32465 (patch) | |
tree | 8b040c9898348255f08cf62eeda7d88e8469bad6 /changelog.d | |
parent | Add more information what happens when a user is deactivated (#11083) (diff) | |
download | synapse-b9ce53e8785d6f0dba6a3efcd708e4a185c32465.tar.xz |
Fix synapse.config module "read" command (#11145)
`synapse.config.__main__` has the possibility to read a config item. This can be used to conveniently also validate the config is valid before trying to start Synapse. The "read" command broke in https://github.com/matrix-org/synapse/pull/10916 as it now requires passing in "server.server_name" for example. Also made the read command optional so one can just call this with just the confirm file reference and get a "Config parses OK" if things are ok. Signed-off-by: Jason Robinson <jasonr@matrix.org> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/11145.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11145.bugfix b/changelog.d/11145.bugfix new file mode 100644 index 0000000000..f369feac42 --- /dev/null +++ b/changelog.d/11145.bugfix @@ -0,0 +1 @@ +Fix a bug introduced in Synapse v1.45.0 breaking the configuration file parsing script. |