-
Notifications
You must be signed in to change notification settings - Fork 12
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
upgrade aws go sdk to v2 #373
base: main
Are you sure you want to change the base?
Conversation
return func(w http.ResponseWriter, r *http.Request) { | ||
compressed, err := ioutil.ReadAll(r.Body) | ||
compressed, err := io.ReadAll(r.Body) |
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.
ioutil
is deprecated
return p.callCount <= 2 | ||
} | ||
|
||
func (p *PaginatorMock) NextPage(ctx context.Context, optFns ...func(*timestreamquery.Options)) (*timestreamquery.QueryOutput, error) { |
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.
HasMorePages()
and NextPage()
mocks are hacky but I just wanted to get the tests passing
Hi @rt-joe, can you please squash your commits? |
3c185e4
to
ff30305
Compare
@dpattmann commits squashed. Note I have not been able to test this yet. |
Upgrades aws go sdk v1 to v2. AWS announced end-of-support for go sdk v1 starting July 31, 2025.
Migration guide