Projet

Général

Profil

0004-populate-wscall-secrets-in-check_hobos-9210.patch

Benjamin Dauvergne, 04 février 2016 16:11

Télécharger (963 octets)

Voir les différences:

Subject: [PATCH 4/4] populate wscall-secrets in check_hobos (#9210)

 wcs/ctl/check_hobos.py | 3 +++
 1 file changed, 3 insertions(+)
wcs/ctl/check_hobos.py
319 319

  
320 320
        if not 'api-secrets' in config.sections():
321 321
            config.add_section('api-secrets')
322
        if not 'wscall-secrets' in config.sections:
323
            config.add_section('wscall-secrets')
322 324
        for key, value in api_secrets.items():
323 325
            config.set('api-secrets', key, value)
326
            config.set('wscall-secrets', key, value)
324 327

  
325 328
        # add known services
326 329
        for service in self.all_services.get('services', []):
327
-