summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/rpc/service.go b/service/rpc/service.go
index 621348e8..6e231048 100644
--- a/service/rpc/service.go
+++ b/service/rpc/service.go
@@ -20,7 +20,7 @@ type Service struct {
}
// Init rpc service. Must return true if service is enabled.
-func (s *Service) Init(cfg *Config) (enabled bool, err error) {
+func (s *Service) Init(cfg *Config) (bool, error) {
if !cfg.Enable {
return false, nil
}