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/config/tests/plugin1.go | |
parent | edc45b3e24afdb5e56e74ffbbbd50e0e3b04922b (diff) |
Update structure, add tests for RPC
Diffstat (limited to 'plugins/config/tests/plugin1.go')
-rwxr-xr-x | plugins/config/tests/plugin1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/config/tests/plugin1.go b/plugins/config/tests/plugin1.go index 7c5f2afd..a276c15f 100755 --- a/plugins/config/tests/plugin1.go +++ b/plugins/config/tests/plugin1.go @@ -23,11 +23,11 @@ type ServiceConfig struct { } type Foo struct { - configProvider config.Provider + configProvider config.Configurer } // Depends on S2 and DB (S3 in the current case) -func (f *Foo) Init(p config.Provider) error { +func (f *Foo) Init(p config.Configurer) error { f.configProvider = p return nil } |