Re-name the main Foreman::Engine method to #run to avoid a name collision with #start(name)
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user