Skip to content

Commit 5c3313e

Browse files
Merge pull request #1085 from rtpg/patch-1
Update provisionedIops reading to handle float-y values
2 parents c925e58 + 4e426c4 commit 5c3313e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/file/detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def cli(env, volume_id):
3939
table.add_row(['Used Space', "%dGB" % (used_space / (1 << 30))])
4040

4141
if file_volume.get('provisionedIops'):
42-
table.add_row(['IOPs', int(file_volume['provisionedIops'])])
42+
table.add_row(['IOPs', float(file_volume['provisionedIops'])])
4343

4444
if file_volume.get('storageTierLevel'):
4545
table.add_row([

0 commit comments

Comments
 (0)