We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5439d63 + 0658dd1 commit 5f9fee4Copy full SHA for 5f9fee4
SoftLayer/CLI/block/detail.py
@@ -29,7 +29,7 @@ def cli(env, volume_id):
29
table.add_row(['LUN Id', "%s" % block_volume['lunId']])
30
31
if block_volume.get('provisionedIops'):
32
- table.add_row(['IOPs', int(block_volume['provisionedIops'])])
+ table.add_row(['IOPs', float(block_volume['provisionedIops'])])
33
34
if block_volume.get('storageTierLevel'):
35
table.add_row([
tests/CLI/modules/block_tests.py
@@ -59,6 +59,7 @@ def test_volume_detail(self):
59
result = self.run_command(['block', 'volume-detail', '1234'])
60
61
self.assert_no_fail(result)
62
+ isinstance(json.loads(result.output)['IOPs'], float)
63
self.assertEqual({
64
'Username': 'username',
65
'LUN Id': '2',
0 commit comments