-
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
Pass cacert file with the correct type to the elasticsearch loader #6678
Conversation
With the fix:
Without the fix:
|
We seems to have quite a few things that break on this branch, the error related to |
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.
@ph are the errors related to your change? |
With this fixed, the one thing I notice is that when |
@kvch Not at all related, I having a hard time to run the 5.6 suite locally without my patch. @andrewkroh Same errors as your, let me check If I can bubble up something better without making too much changes. |
@andrewvc It's a bit of the downside of using the same package that we use inside the elasticsearch output. The binary I could change the code to use the WDYT?
|
@andrewkroh that would give us something like
|
f04063b
to
fd6e4a2
Compare
I've fixed some of the failling tests in this PR which are related to 5.6.X and not on feature created in this PR, I would be in favor to get that PR merged in and create another issue to fix the 5.6.x branch. |
The faillure on Travis/Darwin might be related to golang/go#19734 since we are still running 1.7.6 |
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, but can you add a CHANGELOG entry please.
We were sending the cacert as `[/tmp/cacert]` instead of []string{"/tmp/cacert"} making the Elasticsearch loader crash with a file not found.
e74a1ac
to
c4b83fe
Compare
@andrewkroh I have added the changelog and squashed the history into meaningful commits. |
We were sending the cacert as
[/tmp/cacert]
instead of[]string{"/tmp/cacert"} making the Elasticsearch loader crash with a
file not found.