Merge pull request #3046 from jzelinskie/torrent-validator

util/config/validators: ensure endpoint isn't prom
This commit is contained in:
Jimmy Zelinskie 2018-04-03 12:10:56 -04:00 committed by GitHub
commit 1041481ff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')