Permalink
Browse files

fix request type display

  • Loading branch information...
1 parent b06b892 commit b5f0d51d9368c5b28b5621c26938b00185a93095 @emiddleton emiddleton committed Jul 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chef/knife/ec2_server_create.rb
@@ -258,7 +258,7 @@ def run
spot_request = connection.spot_requests.create(spot_request_def)
puts "\n"
puts "#{ui.color("Instance ID", :cyan)}: #{spot_request.id}"
- puts "#{ui.color("Request Type", :cyan)}: #{spot_request.type}"
+ puts "#{ui.color("Request Type", :cyan)}: #{spot_request.request_type}"
puts "#{ui.color("Price", :cyan)}: #{spot_request.price}"
print "\n#{ui.color("Waiting for spot request", :magenta)}"
spot_request.wait_for { print "."; state == 'active' }

0 comments on commit b5f0d51

Please sign in to comment.