summaryrefslogtreecommitdiff
path: root/plugins/factory/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/factory/app.go')
-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")