diff --git a/uncloud/opennebula/models.py b/uncloud/opennebula/models.py index 6dbc576..ff0e49c 100644 --- a/uncloud/opennebula/models.py +++ b/uncloud/opennebula/models.py @@ -15,7 +15,7 @@ class VM(models.Model): def cores(self): return int(self.data['TEMPLATE']['VCPU']) - @propertyx + @property def ram_in_gb(self): return (int(self.data['TEMPLATE']['MEMORY'])/1024.)