summaryrefslogtreecommitdiff
path: root/service/static
diff options
context:
space:
mode:
Diffstat (limited to 'service/static')
-rw-r--r--service/static/service.go2
1 files changed, 1 insertions, 1 deletions
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
}