0004-populate-wscall-secrets-in-check_hobos-9210.patch
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 |
- |