From cee45b5227c6c0067c633e3ee8075f61a67ec59a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 23 Feb 2020 15:09:58 +0100 Subject: [PATCH] -typo --- uncloud/opennebula/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.)