Re-name the main Foreman::Engine method to #run to avoid a name collision with #start(name)

This commit is contained in:
R. Tyler Croy
2012-04-10 20:35:59 -07:00
parent 38aecff886
commit de62d0655e
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class Foreman::CLI < Thor
def start(process=nil)
check_procfile!
engine.options[:concurrency] = "#{process}=1" if process
engine.start
engine.run
end
desc "export FORMAT LOCATION", "Export the application to another process management format"
+1 -1
View File
@@ -28,7 +28,7 @@ class Foreman::Engine
@output_mutex = Mutex.new
end
def start
def run
proctitle "ruby: foreman master"
termtitle "#{File.basename(@directory)} - foreman"