-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bump aws-sdk-go version to v1.44.145 #89
Conversation
Welcome @xdu31! |
Hi @xdu31. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/ok-to-test |
1cbddf7
to
b1fb1e2
Compare
@@ -21,6 +21,8 @@ import ( | |||
"time" | |||
|
|||
"github.com/aws/aws-sdk-go/aws" | |||
//nolint |
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.
why is this needed, do you have the golangci-lint error handy? I don't see the lint error https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_aws-encryption-provider/89/pull-aws-encryption-provider-verify/1598078085045948416
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.
why is this needed, do you have the golangci-lint error handy? I don't see the lint error https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_aws-encryption-provider/89/pull-aws-encryption-provider-verify/1598078085045948416
The golangci-lint
is complaining about awserr
not used, which is actually used, there's similar thread about wrong judgement from golangci-lint
, golangci/golangci-lint#2214, someone claimed to fix some failure with golang version bump from 1.15 to 1.16, however, aws-encryption-provider
has a hard limit on golang 1.15 as https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_aws-encryption-provider/89/pull-aws-encryption-provider-verify/1598229690533810176.
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 see. also I didn't know about the protobuf thing, that sounds worrisome, thanks
/lgtm |
02b3e2c
to
d97a541
Compare
d97a541
to
34b8f12
Compare
go.mod
Outdated
@@ -31,3 +31,5 @@ replace github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217 => github. | |||
replace github.com/timakin/bodyclose => github.com/golangci/bodyclose v0.0.0-20190714144026-65da19158fa2 | |||
|
|||
replace mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 => mvdan.cc/unparam v0.0.0-20190209190245-fbb59629db34 | |||
|
|||
replace golang.org/x/sys => golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab |
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.
Why this change?
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.
Why this change?
@micahhausler This to fix undefined: unsafe.Slice
errors introduced by the aws-sdk-go
version bump up. The unsafe.Slice
was added as part of Go 1.17, we are using Go 1.15 in aws-encryption-provider
. I took the accept answer in https://stackoverflow.com/questions/74049351/gcloud-functions-deploy-go-runtime-error-undefined-unsafe-slice-error-id-2f5
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.
Go 1.15 is unmaintained... why don't we bump the Go version to something newer. I think you can just bump it in this PR
/ok-to-test |
/retest |
c68f17b
to
c0c2067
Compare
/lgmt |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: micahhausler, wongma7, xdu31 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Bump aws-sdk-go version to v1.44.145