fix this later
[osm/vim-emu.git] / src / emuvim / api / sonata / dummygatekeeper.py
index 052d716..5214146 100755 (executable)
@@ -486,8 +486,8 @@ class Service(object):
                         self.package_content_path,
                         make_relative_path(pc.get("name")))
                     vnfd = load_yaml(vnfd_path)
-                    self.vnfds[vnfd.get("id")] = vnfd
-                    LOG.debug("Loaded VNFD: %r" % vnfd.get("id"))
+                    self.vnfds[vnfd.get("name")] = vnfd
+                    LOG.debug("Loaded VNFD: %r" % vnfd.get("name"))
 
     def _load_saps(self):
         # create list of all SAPs