summaryrefslogtreecommitdiff
path: root/service/static/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/static/service.go')
-rw-r--r--service/static/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/static/service.go b/service/static/service.go
index 5c3defe6..5f7d31f0 100644
--- a/service/static/service.go
+++ b/service/static/service.go
@@ -20,9 +20,9 @@ type Service struct {
root http.Dir
}
-// Configure must return configure service and return true if service hasStatus enabled. Must return error in case of
+// 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) Configure(cfg service.Config, c service.Container) (enabled bool, err error) {
+func (s *Service) Init(cfg service.Config, c service.Container) (enabled bool, err error) {
config := &Config{}
if err := cfg.Unmarshal(config); err != nil {
return false, err