From 73e7ac6a6ad443a7f26e8be4f1cac776b3dcff93 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 8 Jul 2018 13:10:24 -0700 Subject: more tests --- service/rpc/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/rpc/service.go') 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 } -- cgit v1.2.3