lib/elasticity/job_flow.rb in elasticity-3.0 vs lib/elasticity/job_flow.rb in elasticity-3.0.1
- old
+ new
@@ -183,10 +183,10 @@
:placement => {
:availability_zone => @placement
}
}
}
- preamble.merge!(:ec2_subnet_id => @ec2_subnet_id) if @ec2_subnet_id
+ preamble[:instances].merge!(:ec2_subnet_id => @ec2_subnet_id) if @ec2_subnet_id
preamble[:instances].merge!(:ec2_key_name => @ec2_key_name) if @ec2_key_name
preamble
end
def jobflow_steps
\ No newline at end of file