util/config/validators: ensure endpoint isn't prom
This commit is contained in:
parent
0c7c9a7a0a
commit
58072f8673
1 changed files with 4 additions and 0 deletions
|
@ -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')
|
||||
|
|
Reference in a new issue