update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwcal / plugins / vala / rwcal_openstack / rift / rwcal / openstack / utils / image.py
index c58fc8d..fc57bb1 100644 (file)
@@ -85,7 +85,7 @@ class ImageUtils(object):
         Returns:
         Protobuf GI Object of type RwcalYang.ImageInfoItem()
         """
-        image = RwcalYang.ImageInfoItem()
+        image = RwcalYang.YangData_RwProject_Project_VimResources_ImageinfoList()
         if 'name' in image_info and image_info['name']:
             image.name = image_info['name']
         if 'id' in image_info and image_info['id']: