Skip to content

Commit 24f7bb9

Browse files
author
Fernando
committed
Fix tox analysis.
1 parent 6885a47 commit 24f7bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ def _get_disk_price_detail(self, disk_data, upgrade_prices, disk_channel, disk_t
10061006
if disk_data.get('description') == disk_type:
10071007
if "add" in disk_type:
10081008
raise SoftLayerError("Unable to add the disk because this already exists.")
1009-
else:
1009+
if "resize" in disk_type:
10101010
raise SoftLayerError("Unable to resize the disk because this does not exists.")
10111011
else:
10121012
price_id = self._get_prices_for_upgrade_option(upgrade_prices, disk_channel,

0 commit comments

Comments
 (0)