Skip to content

Commit b2e6784

Browse files
Fixed an object mask
1 parent 9d87c90 commit b2e6784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SoftLayer/CLI/virt/capacity/detail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ def cli(env, identifier, columns):
3737
"""Reserved Capacity Group details. Will show which guests are assigned to a reservation."""
3838

3939
manager = CapacityManager(env.client)
40-
mask = """mask[instances[id,createDate,guestId,billingItem[id, recurringFee, category[name]],
40+
mask = """mask[instances[id,createDate,guestId,billingItem[id, description, recurringFee, category[name]],
4141
guest[modifyDate,id, primaryBackendIpAddress, primaryIpAddress,domain, hostname]]]"""
4242
result = manager.get_object(identifier, mask)
43+
4344
try:
4445
flavor = result['instances'][0]['billingItem']['description']
4546
except KeyError:

0 commit comments

Comments
 (0)