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/static/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/static') diff --git a/service/static/service.go b/service/static/service.go index 968cb594..98d8313c 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -21,7 +21,7 @@ type Service struct { // Init must return configure service and return true if service hasStatus enabled. Must return error in case of // misconfiguration. Services must not be used without proper configuration pushed first. -func (s *Service) Init(cfg *Config, r *rrttp.Service) (enabled bool, err error) { +func (s *Service) Init(cfg *Config, r *rrttp.Service) (bool, error) { if !cfg.Enable || r == nil { return false, nil } -- cgit v1.2.3