bin/cloud-start in auser-poolparty-0.2.21 vs bin/cloud-start in auser-poolparty-0.2.22
- old
+ new
@@ -15,10 +15,10 @@
@clouds.each do |name, cloud|
with_cloud(cloud, {:testing => @testing}) do
puts header("Starting cloud")
puts "#{list_of_running_instances.size} running instances (#{minimum_instances} - #{maximum_instances})"
- if (minimum_instances - list_of_running_instances.size) > 0
+ if list_of_running_instances.size != 1
puts "Starting the master instance"
if testing
puts("\tNot launching while in testing mode")
else
provisioning_in_progress
\ No newline at end of file