Skip to content

Commit a14537e

Browse files
Albert Camachoacamacho82
authored andcommitted
Adding "orderContainers" in CLI module, the table should be printed as before when "verify" is set
1 parent 13e6383 commit a14537e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/order/place.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def cli(env, package_keyname, location, preset, verify, billing, complex_type,
8888
if verify:
8989
table = formatting.Table(COLUMNS)
9090
order_to_place = manager.verify_order(*args, **kwargs)
91-
for price in order_to_place['prices']:
91+
for price in order_to_place['orderContainers'][0]['prices']:
9292
cost_key = 'hourlyRecurringFee' if billing == 'hourly' else 'recurringFee'
9393
table.add_row([
9494
price['item']['keyName'],

0 commit comments

Comments
 (0)