Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SoftLayer/CLI/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def cli(env,
**kwargs):
"""Main click CLI entry-point."""

# Populate environement with client and set it as the context object
# Populate environment with client and set it as the context object
env.skip_confirmations = really
env.config_file = config
env.format = format
Expand Down
12 changes: 6 additions & 6 deletions SoftLayer/CLI/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ def cli(env, sortby):

for name, datacenter in datacenters.items():
table.add_row([
name,
datacenter['hardware_count'],
datacenter['virtual_guest_count'],
datacenter['vlan_count'],
datacenter['subnet_count'],
datacenter['public_ip_count'],
name or formatting.blank(),
datacenter.get('hardware_count', formatting.blank()),
datacenter.get('virtual_guest_count', formatting.blank()),
datacenter.get('vlan_count', formatting.blank()),
datacenter.get('subnet_count', formatting.blank()),
datacenter.get('public_ip_count', formatting.blank()),
])

env.fout(table)