We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d6270f commit 4fca17eCopy full SHA for 4fca17e
1 file changed
SoftLayer/CLI/modules/image.py
@@ -113,7 +113,7 @@ def execute(self, args):
113
disk_space = 0
114
datacenters = []
115
for child in image.get('children'):
116
- disk_space = child.get('blockDevicesDiskSpaceTotal', 0)
+ disk_space = int(child.get('blockDevicesDiskSpaceTotal', 0))
117
if child.get('datacenter'):
118
datacenters.append(utils.lookup(child, 'datacenter', 'name'))
119
0 commit comments