Rename sdd_size -> ssd_size
This commit is contained in:
parent
22e18f578e
commit
b8db6d708d
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class VirtualMachineSerializer(serializers.Serializer):
|
||||||
disk_size += int(disk.size)
|
disk_size += int(disk.size)
|
||||||
return disk_size / 1024
|
return disk_size / 1024
|
||||||
|
|
||||||
def get_sdd_size(self, obj):
|
def get_ssd_size(self, obj):
|
||||||
template = obj.template
|
template = obj.template
|
||||||
disk_size = 0
|
disk_size = 0
|
||||||
for disk in template.disks:
|
for disk in template.disks:
|
||||||
|
|
Loading…
Reference in a new issue