summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
committerWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
commite863c6cdcf7c318fb251e096bf92812ed98ea03c (patch)
tree9eb2cd049dfae0482211a6a212d28cc48304f109 /service
parent67b88c9914d922314ce7cd8d3624d64812647758 (diff)
better server re-configuration
Diffstat (limited to 'service')
-rw-r--r--service/registry.go4
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")