Bug 733 fixed 34/7634/1
authorendika <endika.aldecoa@ehu.eus>
Wed, 5 Jun 2019 12:48:44 +0000 (14:48 +0200)
committerendika <endika.aldecoa@ehu.eus>
Mon, 10 Jun 2019 08:22:15 +0000 (10:22 +0200)
Change-Id: Ibb0891e4cde4bb2db52df43159a94c102809aa9c
Signed-off-by: Endika Aldecoa <endika.aldecoa@ehu.eus>
n2vc/vnf.py

index bb7b871..5a22952 100644 (file)
@@ -341,7 +341,7 @@ class N2VC:
         for cfg in configs:
             if 'juju' in cfg:
                 juju = cfg['juju']
-                if 'vca-relations' in juju and 'relations' in juju['vca-relations']:
+                if 'vca-relations' in juju and 'relation' in juju['vca-relations']:
                     for rel in juju['vca-relations']['relation']:
                         try: