Disable Addresses

This commit is contained in:
Ben Toogood 2020-05-13 18:49:36 +01:00
parent ca791d7e8d
commit 57b060bac5

View File

@ -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),