From e5406c6f652b4248763e114629764633da941650 Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Tue, 4 Jun 2019 08:30:51 -0400 Subject: [PATCH 1/1] Additional fix for bug 733 An additional fix for bug 733 Change-Id: I0b6d82f7ba8030f28e82a3d68e249fbcb299979c --- n2vc/vnf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.17.1