diff options
author | Valery Piashchynski <[email protected]> | 2021-08-19 19:38:52 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-19 19:38:52 +0300 |
commit | bea5916c57469cd75102cde07a7a6c62914c74f0 (patch) | |
tree | 3b5bde4c20d705b4742f1c80b9ebcc5e02372c3a /plugins | |
parent | 324407b3e2d779143be65872993c4d091abb1d38 (diff) |
Add support for the IPv6
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/rpc/plugin.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rpc/plugin.go b/plugins/rpc/plugin.go index cfe20321..b8ee6d13 100644 --- a/plugins/rpc/plugin.go +++ b/plugins/rpc/plugin.go @@ -62,7 +62,7 @@ func (s *Plugin) Serve() chan error { s.rpc = rpc.NewServer() - services := make([]string, 0, len(s.plugins)) + plugins := make([]string, 0, len(s.plugins)) // Attach all services for name := range s.plugins { @@ -72,7 +72,7 @@ func (s *Plugin) Serve() chan error { return errCh } - services = append(services, name) + plugins = append(plugins, name) } var err error @@ -82,7 +82,7 @@ func (s *Plugin) Serve() chan error { return errCh } - s.log.Debug("Started RPC service", "address", s.cfg.Listen, "services", services) + s.log.Debug("Started RPC service", "address", s.cfg.Listen, "plugins", plugins) go func() { for { |