-
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
Set ecszap version to v0.2.0 #19106
Set ecszap version to v0.2.0 #19106
Conversation
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.
Shouldn't the go.sum
file also be updated to 0.2.0
?
I don't know what the process typically is. Since I've been testing Artifactory, I've been regularly cleaning the sum caches so I didn't face any problem with the outdated sum in my case. If this commit should contain a change to |
The |
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.
The go.sum file should be checked in as well. It contains all known checksums for the packages in go.mod (unfortunately go.sum does never forget an entry). When downloading a dependency it's checksum is validated against go.sum. |
This was failing lint tests due to an error I believe may have been fixed this morning by this: #19124 I have rebased against HEAD and we'll see what happens this time. :) |
…ngs-archive * upstream/master: (119 commits) Update filebeat input docs (elastic#19110) Add ECS fields from log pipeline of PostgreSQL (elastic#19127) Init package libbeat/statestore (elastic#19117) [Ingest Manager] Retryable downloads of beats (elastic#19102) [DOCS] Add output.console to Functionbeat doc and Functionbeat reference file (elastic#18965) Add compatibility info (elastic#18929) Set ecszap version to v0.2.0 (elastic#19106) [filebeat][httpjson] Fix unit test function call (elastic#19124) [Filebeat][httpjson] Adds oauth2 support for httpjson input (elastic#18892) Allow host.* fields to be disabled in Suricata module (elastic#19107) Make selector string casing configurable (elastic#18854) Switch the GRPC communication where Agent is running the server and the beats are connecting back to Agent (elastic#18973) Disable host.* fields by default for netflow module (elastic#19087) Automatically fill zube teams on backports if available (elastic#18924) Fix crash on vsphere module (elastic#19078) [Ingest Manager] Download snapshot artifacts from snapshots repo (elastic#18685) [Ingest Manager] Basic Elastic Agent documentation (elastic#19030) Make user.id a string in system/users, in line with ECS (elastic#19019) [docs] Add 7.8 release highlights placeholder file (elastic#18493) Fix translate_sid's empty target field handling (elastic#18991) ...
Yes, please. |
* Set ecszap version to v0.2.0 * Update go.sum for go.elastic.co/ecszap v0.2.0/
* Set ecszap version to v0.2.0 * Update go.sum for go.elastic.co/ecszap v0.2.0/
What does this PR do?
This bumps the version of ecszap from v0.1.1-0.20200424093508-cdd95a104193 to v0.2.0.
Why is it important?
This resolves a failure to download modules from a Gocenter proxy. Without this change, the following error is returned when running
go mod download
.This was happening because there is not a v0.1.1 release of ecszap. Current releases can be seen at https://github.com/elastic/ecs-logging-go-zap/releases
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added tests that prove my fix is effective or that my feature worksI have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Run
go modules download
and ensure it works.Related issues
Use cases
Screenshots
Logs