Explorar el Código

Fixes OpenStack export serialization issue

Alessandro Pilotti hace 9 años
padre
commit
1740031712
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      coriolis/providers/openstack/__init__.py

+ 1 - 1
coriolis/providers/openstack/__init__.py

@@ -1269,7 +1269,7 @@ class ExportProvider(base.BaseExportProvider):
             'format': image.format,
             'format': image.format,
             'path': image.path,
             'path': image.path,
             'size_bytes': image.size,
             'size_bytes': image.size,
-            'id': image.id
+            'id': str(image.id)
         })
         })
 
 
         vm_info = {
         vm_info = {