proxy: fix internal service url (#163)

This commit is contained in:
Bobby DeSimone 2019-06-04 12:56:25 -07:00 committed by GitHub
parent bade9f50e6
commit 4ce4e1e124
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ func New(opts *config.Options) (*Proxy, error) {
p.AuthenticateClient, err = clients.NewAuthenticateClient("grpc",
&clients.Options{
Addr: opts.AuthenticateURL.Host,
InternalAddr: opts.AuthenticateInternalAddr.String(),
InternalAddr: opts.AuthenticateInternalAddr.Host,
OverrideCertificateName: opts.OverrideCertificateName,
SharedSecret: opts.SharedKey,
CA: opts.CA,