Skip to content

Commit

Permalink
Fix passenger-config listing of running instances
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Feb 27, 2015
1 parent b54c624 commit 7ab3e18
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/phusion_passenger/config/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,10 @@ def complain_that_multiple_passenger_instances_are_running(instances)
def list_all_passenger_instances(instances)
puts "The following #{PROGRAM_NAME} instances are running:"
puts
printf "%-25s %s\n", "Name", "Description"
puts "------------------------------------------------------------------"
instances.each do |instance|
printf "%-25s %s\n", "Name", "Description"
puts "------------------------------------------------------------------"
instances.each do |instance|
printf "%-25s %s\n", instance.name, instance.server_software
end
printf "%-25s %s\n", instance.name, instance.server_software
end
end

Expand Down

0 comments on commit 7ab3e18

Please sign in to comment.