-
Notifications
You must be signed in to change notification settings - Fork 22
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
splunkclient-go: Do not use incorrect build tags #2891
splunkclient-go: Do not use incorrect build tags #2891
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
instrumentation/k8s.io/client-go/splunkclient-go/option/option.go
Outdated
Show resolved
Hide resolved
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.
@andrewwdye Thanks for the issue and PR 👍
Can you also try adding a changelog entry to make the PR more complete?
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.
@MrAlias, PTAL
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2891 +/- ##
==========================================
+ Coverage 78.34% 80.04% +1.70%
==========================================
Files 85 88 +3
Lines 3293 2897 -396
==========================================
- Hits 2580 2319 -261
+ Misses 639 502 -137
- Partials 74 76 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@andrewwdye thank you for the contribution! Please sign your commits. We required signed commits for the project to ensure authenticity. |
d6de4fc
to
edebcc2
Compare
Signed-off-by: Andrew Dye <andrewwdye@gmail.com>
Signed-off-by: Andrew Dye <andrewwdye@gmail.com>
Signed-off-by: Andrew Dye <andrewwdye@gmail.com>
signalfx#2892) Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.56.1 to 1.56.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.56.1...v1.56.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
edebcc2
to
33d3b6a
Compare
I rebased with my commits signed (and @pellared 's commits signed as co-authored). I assume there is another step here to co-sign but was unsure |
Overview
go build
(and friends) include build tags for current and prior versions of go (i.e., go 1.21 has tags go1.21, go1.20, go1.19, ...). The existinggo:build
directive in splunkclient-go checks the for absence of tags go1.1 -> go1.16, which will always fail.This change modifies the directive to indicate go 1.17 as the min version.
Also fixed lint and test failures. For the latter, removed attributed that were tested for but not returned from
ClientRequest
for semconv 1.17.Testing
Before
After
fixes #2890