summary refs log tree commit diff
path: root/synapse/config/metrics.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-05-22 10:11:50 +0100
committerGitHub <noreply@github.com>2020-05-22 10:11:50 +0100
commit66a564c859c035c273c8feb25c624473055f1d78 (patch)
treef3f46d11f34fc3527deb65228d72b81fea205b16 /synapse/config/metrics.py
parentRetry to sync out of sync device lists (#7453) (diff)
downloadsynapse-66a564c859c035c273c8feb25c624473055f1d78.tar.xz
Fix some DETECTED VIOLATIONS in the config file (#7550)
consistency ftw
Diffstat (limited to 'synapse/config/metrics.py')
-rw-r--r--synapse/config/metrics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py

index 6f517a71d0..6aad0d37c0 100644 --- a/synapse/config/metrics.py +++ b/synapse/config/metrics.py
@@ -93,10 +93,11 @@ class MetricsConfig(Config): #known_servers: true # Whether or not to report anonymized homeserver usage statistics. + # """ if report_stats is None: - res += "# report_stats: true|false\n" + res += "#report_stats: true|false\n" else: res += "report_stats: %s\n" % ("true" if report_stats else "false")