summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index db86f457..fcaf5737 100644
--- a/README.md
+++ b/README.md
@@ -227,7 +227,7 @@ type Service struct {
cfg *config
}
-func (s *Service) Init(cfg service.Config, reg 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