summary refs log tree commit diff
path: root/synapse/app/pusher.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/pusher.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 'synapse/app/pusher.py')
-rw-r--r--synapse/app/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 64df47f9cc..13cfbd08b0 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -128,7 +128,7 @@ class PusherServer(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"])