We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11ac0dc + 6da51a3 commit 1f4c7d4Copy full SHA for 1f4c7d4
1 file changed
SoftLayer/CLI/account/item_detail.py
@@ -28,7 +28,7 @@ def item_table(item):
28
table.add_row(['cancellationDate', utils.clean_time(item.get('cancellationDate'), date_format, date_format)])
29
table.add_row(['description', item.get('description')])
30
table.align = 'l'
31
- fqdn = "{}.{}".format(item.get('hostName'), item.get('domain'))
+ fqdn = "{}.{}".format(item.get('hostName', ''), item.get('domainName', ''))
32
if fqdn != ".":
33
table.add_row(['FQDN', fqdn])
34
0 commit comments