diff options
Diffstat (limited to 'service/registry.go')
-rw-r--r-- | service/registry.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/registry.go b/service/registry.go index 659ece8b..e2ab0d81 100644 --- a/service/registry.go +++ b/service/registry.go @@ -22,7 +22,7 @@ type Registry interface { // Register add new service to the registry under given name. Register(name string, service Service) - // Configure configures all underlying services with given configuration. + // Reconfigure configures all underlying services with given configuration. Configure(cfg Config) error // Check is Service has been registered and configured. @@ -92,7 +92,7 @@ func (r *registry) Register(name string, service Service) { r.log.Debugf("%s.service: registered", name) } -// Configure configures all underlying services with given configuration. +// Reconfigure configures all underlying services with given configuration. func (r *registry) Configure(cfg Config) error { if r.configured != nil { return fmt.Errorf("service bus has been already configured") |