diff options
author | Valery Piashchynski <[email protected]> | 2020-11-04 15:32:55 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-04 15:32:55 +0300 |
commit | e0a0c0d31cf9724754c63c67865403af7fceb1a4 (patch) | |
tree | 3c7fcde78a280d8058c38816931c8b15d1779c8e /plugins/app/tests/plugin_1.go | |
parent | edc45b3e24afdb5e56e74ffbbbd50e0e3b04922b (diff) |
Update structure, add tests for RPC
Diffstat (limited to 'plugins/app/tests/plugin_1.go')
-rw-r--r-- | plugins/app/tests/plugin_1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/app/tests/plugin_1.go b/plugins/app/tests/plugin_1.go index 7259ea9d..c6287f5c 100644 --- a/plugins/app/tests/plugin_1.go +++ b/plugins/app/tests/plugin_1.go @@ -9,11 +9,11 @@ import ( ) type Foo struct { - configProvider config.Provider + configProvider config.Configurer spawner app.WorkerFactory } -func (f *Foo) Init(p config.Provider, spw app.WorkerFactory) error { +func (f *Foo) Init(p config.Configurer, spw app.WorkerFactory) error { f.configProvider = p f.spawner = spw return nil |