From: Adam Israel Date: Tue, 4 Jun 2019 12:30:51 +0000 (-0400) Subject: Additional fix for bug 733 X-Git-Tag: v6.0.0~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F7605%2F1;p=osm%2FN2VC.git Additional fix for bug 733 An additional fix for bug 733 Change-Id: I0b6d82f7ba8030f28e82a3d68e249fbcb299979c --- 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: