Browse Source

Fixed bug in AWS vm_type extra data

Closes: https://github.com/gvlproject/cloudbridge/issues/95
Nuwan Goonasekera 8 years ago
parent
commit
60082730a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cloudbridge/cloud/providers/aws/resources.py

+ 1 - 1
cloudbridge/cloud/providers/aws/resources.py

@@ -195,7 +195,7 @@ class AWSVMType(BaseVMType):
 
 
     @property
     @property
     def extra_data(self):
     def extra_data(self):
-        return {key: val for key, val in enumerate(self._inst_dict)
+        return {key: val for key, val in self._inst_dict.items()
                 if key not in ["instance_type", "family", "vCPU", "memory"]}
                 if key not in ["instance_type", "family", "vCPU", "memory"]}