1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

Merge pull request #1615 from micro/disable-auth-client

Disable auth service client
This commit is contained in:
ben-toogood 2020-05-11 20:38:49 +01:00 committed by GitHub
commit ee24b4f083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ func (s *service) Init(opts ...Option) {
s.opts.Store.Init(store.Table(name)) s.opts.Store.Init(store.Table(name))
// Set the client for the micro clients // Set the client for the micro clients
s.opts.Auth.Init(auth.WithClient(s.Client())) // s.opts.Auth.Init(auth.WithClient(s.Client()))
s.opts.Runtime.Init(runtime.WithClient(s.Client())) s.opts.Runtime.Init(runtime.WithClient(s.Client()))
s.opts.Store.Init(store.WithClient(s.Client())) s.opts.Store.Init(store.WithClient(s.Client()))
}) })