summaryrefslogtreecommitdiff
path: root/plugins/factory
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-16 12:53:03 +0300
committerValery Piashchynski <[email protected]>2020-10-16 12:53:03 +0300
commit16fbf3104c3c34bd9355593052b686acd26a8efe (patch)
tree9b8393e84d89bc9238e3995669038a2cdfc9ab13 /plugins/factory
parent4fd2e882674e9e8b591ec182155b4ba90223af21 (diff)
Correct Spawner interfacev2.0.0-alpha6
Diffstat (limited to 'plugins/factory')
-rw-r--r--plugins/factory/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/factory/app.go b/plugins/factory/app.go
index 1f8a6f0d..f9e7944c 100644
--- a/plugins/factory/app.go
+++ b/plugins/factory/app.go
@@ -82,7 +82,7 @@ func (app *App) NewCmd(env Env) (func() *exec.Cmd, error) {
}
// todo ENV unused
-func (app *App) NewFactory() (roadrunner.Factory, error) {
+func (app *App) NewFactory(env Env) (roadrunner.Factory, error) {
// if Listen is empty or doesn't contain separator, return error
if app.cfg.Listen == "" || !strings.Contains(app.cfg.Listen, "://") {
return nil, errors.New("relay should be set")