Skip to content

Commit 9c4f3ba

Browse files
author
Fernando
committed
Fix slcli hw upgrade disk to support with rest.
1 parent 24f7bb9 commit 9c4f3ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SoftLayer/managers/hardware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ def get_instance(self, instance_id):
896896

897897
return self.hardware.getObject(id=instance_id, mask=mask)
898898

899-
def _get_upgrade_prices(self, instance_id, include_downgrade_options=True):
899+
def _get_upgrade_prices(self, instance_id):
900900
"""Following Method gets all the price ids related to upgrading a Hardware Server.
901901
902902
:param int instance_id: Instance id of the Hardware Server to be upgraded.
@@ -910,7 +910,7 @@ def _get_upgrade_prices(self, instance_id, include_downgrade_options=True):
910910
'item[keyName,description,capacity,units]'
911911
]
912912
mask = "mask[%s]" % ','.join(mask)
913-
return self.hardware.getUpgradeItemPrices(include_downgrade_options, id=instance_id, mask=mask)
913+
return self.hardware.getUpgradeItemPrices(id=instance_id, mask=mask)
914914

915915
@staticmethod
916916
def _get_prices_for_upgrade_option(upgrade_prices, option, value):

0 commit comments

Comments
 (0)