diff options
author | Wolfy-J <[email protected]> | 2018-07-08 13:10:24 -0700 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-07-08 13:10:24 -0700 |
commit | 73e7ac6a6ad443a7f26e8be4f1cac776b3dcff93 (patch) | |
tree | 2b9aac740bdd635180510ba4c83268b8437b6c11 /service/rpc | |
parent | 29c9bf94350e86ec96f5ce5eeb476dfcd57302cd (diff) |
more tests
Diffstat (limited to 'service/rpc')
-rw-r--r-- | service/rpc/service.go | 2 |
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 } |