Disable Addresses
This commit is contained in:
parent
ca791d7e8d
commit
57b060bac5
@ -307,9 +307,9 @@ func NewAuth(opts ...auth.Option) auth.Auth {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addrs := options.Addrs
|
addrs := options.Addrs
|
||||||
if len(addrs) == 0 {
|
// if len(addrs) == 0 {
|
||||||
addrs = []string{"127.0.0.1:8010"}
|
// addrs = []string{"127.0.0.1:8010"}
|
||||||
}
|
// }
|
||||||
|
|
||||||
service := &svc{
|
service := &svc{
|
||||||
auth: pb.NewAuthService("go.micro.auth", options.Client),
|
auth: pb.NewAuthService("go.micro.auth", options.Client),
|
||||||
|
Loading…
Reference in New Issue
Block a user