-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TLS dialer to Kerberos transport as well #18607
Add TLS dialer to Kerberos transport as well #18607
Conversation
kvch
commented
May 18, 2020
•
edited
Loading
edited
- add changelog entry
Pinging @elastic/integrations-services (Team:Services) |
}), | ||
Timeout: s.Timeout, | ||
Transport: transp, | ||
Timeout: s.Timeout, | ||
} | ||
|
||
if s.Kerberos.IsEnabled() { | ||
c := &http.Client{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can now remove this statement and use httpClient
instead of c
as the 2nd argument to kerberos.NewClient
below now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we cannot. kerberos.NewClient
expects an http.Client
, but the client above is an esHTTPClient
.
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
(cherry picked from commit 8b17f5a)
(cherry picked from commit 8b17f5a)