Skip to content

Commit c6e6141

Browse files
Merge pull request #1291 from JonWoodlief/patch-1
Removed overly specific reference to Block storage
2 parents 5a0a8f3 + aa8fd3d commit c6e6141

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SoftLayer/managers/storage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def failback_from_replicant(self, volume_id):
396396
return self.client.call('Network_Storage', 'failbackFromReplicant', id=volume_id)
397397

398398
def cancel_volume(self, volume_id, reason='No longer needed', immediate=False):
399-
"""Cancels the given block storage volume.
399+
"""Cancels the given storage volume.
400400
401401
:param integer volume_id: The volume ID
402402
:param string reason: The reason for cancellation
@@ -406,7 +406,7 @@ def cancel_volume(self, volume_id, reason='No longer needed', immediate=False):
406406
volume = self.get_volume_details(volume_id, mask=object_mask)
407407

408408
if 'billingItem' not in volume:
409-
raise exceptions.SoftLayerError("Block Storage was already cancelled")
409+
raise exceptions.SoftLayerError("Storage Volume was already cancelled")
410410

411411
billing_item_id = volume['billingItem']['id']
412412

tests/managers/block_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_cancel_block_volume_exception_billing_item_not_found(self):
6161
immediate=True
6262
)
6363
self.assertEqual(
64-
'Block Storage was already cancelled',
64+
'Storage Volume was already cancelled',
6565
str(exception)
6666
)
6767

0 commit comments

Comments
 (0)