hobo: only consider primary welco and fargo (#15721)

This commit is contained in:
Frédéric Péters 2017-04-01 17:57:36 +02:00
parent 326c2f19b3
commit 327d1b60ab
1 changed files with 2 additions and 0 deletions

View File

@ -353,6 +353,8 @@ class CmdCheckHobos(Command):
# add known services
for service in self.all_services.get('services', []):
if service.get('secondary'):
continue
if service.get('service-id') == 'fargo':
config.set('options', 'fargo_url', service.get('base_url'))
if service.get('service-id') == 'welco':