X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fvnf.py;h=bb7b871f8e7f9a2de0dc1dfbde29058e030013a7;hp=1ad6d0621cab3807c80295b9d853fe460337aeeb;hb=e5406c6f652b4248763e114629764633da941650;hpb=47998e0a2e15749f7da945a97cef1dc792c86353 diff --git a/n2vc/vnf.py b/n2vc/vnf.py index 1ad6d06..bb7b871 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -341,7 +341,7 @@ class N2VC: for cfg in configs: if 'juju' in cfg: juju = cfg['juju'] - if 'relation' in juju: + if 'vca-relations' in juju and 'relations' in juju['vca-relations']: for rel in juju['vca-relations']['relation']: try: