lib/kontena/cli/services/containers_command.rb in kontena-cli-1.4.3 vs lib/kontena/cli/services/containers_command.rb in kontena-cli-1.5.0.pre1
- old
+ new
@@ -26,10 +26,10 @@
puts " node: #{container['node']['name']}"
puts " dns: #{container['hostname']}.#{container['domainname']}"
puts " ip: #{container['ip_address']}"
puts " public ip: #{container['node']['public_ip']}"
if container['status'] == 'unknown'
- puts " status: #{container['status'].colorize(:yellow)}"
+ puts " status: #{pastel.yellow(container['status'])}"
else
puts " status: #{container['status']}"
end
puts ""
end