Skip to content

Commit 6da51a3

Browse files
committed
solved parameter domain to domainName and change result from None to emtpy
1 parent 11ac0dc commit 6da51a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/account/item_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def item_table(item):
2828
table.add_row(['cancellationDate', utils.clean_time(item.get('cancellationDate'), date_format, date_format)])
2929
table.add_row(['description', item.get('description')])
3030
table.align = 'l'
31-
fqdn = "{}.{}".format(item.get('hostName'), item.get('domain'))
31+
fqdn = "{}.{}".format(item.get('hostName', ''), item.get('domainName', ''))
3232
if fqdn != ".":
3333
table.add_row(['FQDN', fqdn])
3434

0 commit comments

Comments
 (0)