lib/cloudstack-cli/commands/account.rb in cloudstack-cli-0.3.1 vs lib/cloudstack-cli/commands/account.rb in cloudstack-cli-0.3.2
- old
+ new
@@ -8,10 +8,10 @@
desc 'list [NAME]', 'list accounts'
def list(name = nil)
accounts = client.list_accounts({name: name})
if accounts.size < 1
- puts "No accounts found"
+ puts "No accounts found."
else
table = [["Name", "Type", "Domain"]]
accounts.each do |account|
table << [account['name'], TYPES[account['accounttype']], account['domain']]
end
\ No newline at end of file