summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpc/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/service.go b/rpc/service.go
index e19c9d7d..4454f8e6 100644
--- a/rpc/service.go
+++ b/rpc/service.go
@@ -8,6 +8,8 @@ import (
"sync"
)
+// todo: improved logging
+
// Service is RPC service.
type Service struct {
cfg *config
@@ -21,8 +23,6 @@ type Service struct {
// WithConfig must return Service instance configured with the given environment. Must return error in case of
// misconfiguration, might return nil as Service if Service is not enabled.
func (s *Service) WithConfig(cfg service.Config, reg service.Registry) (service.Service, error) {
- // todo: logging ?
-
config := &config{}
if err := cfg.Unmarshal(config); err != nil {
return nil, err