forked from stove/risotto
fix(src/risotto/rougail/annotator.py): do not raise if suppliers not exists
This commit is contained in:
parent
96132ae60a
commit
6d8219b22c
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class Annotator(Walk):
|
||||||
continue
|
continue
|
||||||
if provider_prefix != 'Host':
|
if provider_prefix != 'Host':
|
||||||
provider_zone = self.objectspace.rougailconfig['risotto_globals'][provider_dns]['global:provider_zone']
|
provider_zone = self.objectspace.rougailconfig['risotto_globals'][provider_dns]['global:provider_zone']
|
||||||
|
if provider_prefix not in self.suppliers:
|
||||||
|
continue
|
||||||
for supplier_dns, suppliers_suffix in self.suppliers[provider_prefix].items():
|
for supplier_dns, suppliers_suffix in self.suppliers[provider_prefix].items():
|
||||||
if provider_dns == supplier_dns:
|
if provider_dns == supplier_dns:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue