Closed njvrzm closed 6 months ago
Shouldn't GetAsyncDB also be updated to take a context?
Hm - maybe! But not as part of this PR, since it's still being called without context from grafana-aws-sdk
. I think we can probably add that if a use for it comes up?
Like the similar PR in the Athena datasource, this PR adds context handling in a number of places to support the changes in the associated grafana-aws-sdk PR.
This also replaces instances of context.TODO() in tests with context.Background(), so that the former remains a useful signal.