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

blob/s3blob.ExampleOpenBucketV2: removed duplicate error handler in documentation #3137

Closed
wants to merge 1 commit into from

Conversation

fabiant7t
Copy link

Removed the duplicate, identical error handler in the example of gocloud.dev/blob/s3blob.ExampleOpenBucketV2:

cfg, err := awsv2cfg.LoadDefaultConfig(ctx)
if err != nil {
	return err
}
if err != nil {
	return err
}

@vangent
Copy link
Contributor

vangent commented Jun 14, 2022

Thanks for the PR! It turns out that just editing the JSON file is not sufficient, that files is generated from source. I'm fixing this in #3138.

@vangent vangent closed this Jun 14, 2022
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.

None yet

2 participants