Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

print _default if no environment is passed to create subcommand

  • Loading branch information...
commit 3d419b80725ce012e8dac9b3bd52fa4aa98db590 1 parent 8a48a9b
@schisamo schisamo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/chef/knife/rackspace_server_create.rb
View
2  lib/chef/knife/rackspace_server_create.rb
@@ -185,7 +185,7 @@ def run
puts "#{ui.color("Public IP Address", :cyan)}: #{server.addresses["public"][0]}"
puts "#{ui.color("Private IP Address", :cyan)}: #{server.addresses["private"][0]}"
puts "#{ui.color("Password", :cyan)}: #{server.password}"
- puts "#{ui.color("Environment", :cyan)}: #{config[:environment]}"
+ puts "#{ui.color("Environment", :cyan)}: #{config[:environment] || '_default'}"
puts "#{ui.color("Run List", :cyan)}: #{config[:run_list].join(', ')}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.