From b8db6d708d3beb30d89f82a029e61be3b12ed064 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Wed, 21 Feb 2018 11:46:33 +0100 Subject: [PATCH] Rename sdd_size -> ssd_size --- opennebula_api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opennebula_api/serializers.py b/opennebula_api/serializers.py index 07506a8b..0ce15c36 100644 --- a/opennebula_api/serializers.py +++ b/opennebula_api/serializers.py @@ -104,7 +104,7 @@ class VirtualMachineSerializer(serializers.Serializer): disk_size += int(disk.size) return disk_size / 1024 - def get_sdd_size(self, obj): + def get_ssd_size(self, obj): template = obj.template disk_size = 0 for disk in template.disks: