add config to cmd (#1337)

* add config to cmd

* fix build
This commit is contained in:
Asim Aslam
2020-03-12 18:47:40 +00:00
committed by GitHub
parent 47f1203e97
commit d8cfa7a295
3 changed files with 10 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ func (s *service) Init(opts ...Option) {
cmd.Registry(&s.opts.Registry),
cmd.Transport(&s.opts.Transport),
cmd.Client(&s.opts.Client),
cmd.Config(&s.opts.Config),
cmd.Server(&s.opts.Server),
cmd.Profile(&s.opts.Profile),
); err != nil {