Permalink
Browse files

Fix race condition with machine boot from spot request.

  • Loading branch information...
1 parent fdddb47 commit de0ab7f1cdfadccf8a1415cedb130ab81ee676e0 @Fluxx Fluxx committed May 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rudy/machines.rb
@@ -64,7 +64,7 @@ def create(size=nil)
end
def from_spot_request(request)
- instances = Rudy::AWS::EC2::Instances.list(:running, request.map(&:instid))
+ instances = Rudy::AWS::EC2::Instances.list(:any, request.map(&:instid))
current_machine_positions.zip(instances).map do |position, instance|
Rudy::Machine.new(position).tap do |machine|

0 comments on commit de0ab7f

Please sign in to comment.