util/config/validators: ensure endpoint isn't prom

This commit is contained in:
Jimmy Zelinskie 2018-04-02 17:59:48 -04:00
parent 0c7c9a7a0a
commit 58072f8673

View file

@ -51,3 +51,7 @@ class BittorrentValidator(BaseValidator):
if 'failure reason' in resp.text:
raise ConfigValidationException('Could not validate signed announce request: ' + resp.text)
if 'go_goroutines' in resp.text:
raise ConfigValidationException('Could not validate signed announce request: ' +
'provided port is used for Prometheus')