summary refs log tree commit diff
path: root/synapse/app/user_dir.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-06-12 12:51:31 -0600
committerTravis Ralston <travpc@gmail.com>2018-06-12 12:51:31 -0600
commit12285a1a76991f813c71234a14a428192f2c6f93 (patch)
tree7dc6b59c7dfb7f85a58c11138f58a8203b6ef35f /synapse/app/user_dir.py
parentMerge pull request #3276 from matrix-org/dbkr/unbind (diff)
downloadsynapse-12285a1a76991f813c71234a14a428192f2c6f93.tar.xz
The flag is named enable_metrics, not collect_metrics
Signed-off-by: Travis Ralston <travpc@gmail.com>
Diffstat (limited to '')
-rw-r--r--synapse/app/user_dir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/user_dir.py b/synapse/app/user_dir.py
index ada1c13cec..f5726e3df6 100644
--- a/synapse/app/user_dir.py
+++ b/synapse/app/user_dir.py
@@ -150,7 +150,7 @@ class UserDirectoryServer(HomeServer):
             elif listener["type"] == "metrics":
                 if not self.get_config().enable_metrics:
                     logger.warn(("Metrics listener configured, but "
-                                 "collect_metrics is not enabled!"))
+                                 "enable_metrics is not True!"))
                 else:
                     _base.listen_metrics(listener["bind_addresses"],
                                          listener["port"])