Skip to content

Commit 4fca17e

Browse files
committed
Makes disk space an int
1 parent 8d6270f commit 4fca17e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SoftLayer/CLI/modules/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def execute(self, args):
113113
disk_space = 0
114114
datacenters = []
115115
for child in image.get('children'):
116-
disk_space = child.get('blockDevicesDiskSpaceTotal', 0)
116+
disk_space = int(child.get('blockDevicesDiskSpaceTotal', 0))
117117
if child.get('datacenter'):
118118
datacenters.append(utils.lookup(child, 'datacenter', 'name'))
119119

0 commit comments

Comments
 (0)