Skip to content
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

Add sts_endpoint param to firehose plugin #31

Closed
wants to merge 2 commits into from

Conversation

PettitWesley
Copy link
Contributor

Signed-off-by: Wesley Pettit [email protected]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@PettitWesley PettitWesley requested a review from a team as a code owner July 15, 2020 18:39
}
return defaultResolver.EndpointFor(service, region, optFns...)
func newPutRecordBatcher(roleARN, region, firehoseEndpoint, stsEndpoint string) (*firehose.Firehose, error) {
defaultResolver := endpoints.DefaultResolver()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any specific reason we're referencing defaultResolver via a closure, or can we create this inside of the customResolverFn function definition?

@sonofachamp sonofachamp requested a review from a team July 15, 2020 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants