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

fix r2 object array handling #10

Closed
good-lly opened this issue Apr 17, 2024 · 1 comment
Closed

fix r2 object array handling #10

good-lly opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@good-lly
Copy link
Owner

Describe the bug
When wrangler.toml R2 binding is done via array of objects, get R2 object constructor is not working properly...
also errors when instance is not properly configured/init are a bit annoying

To Reproduce
[[r2_buckets]]

this is working ->

binding = "MY_PROXY_BUCKET"

bucket_name = "openproxy-bucket"

this is NOT ->

r2_buckets = [
{ binding = "MY_PROXY_BUCKET", bucket_name = "openproxy-bucket", preview_bucket_name = "openproxy-bucket" }
]

@good-lly good-lly added the bug Something isn't working label Apr 17, 2024
@good-lly good-lly self-assigned this Apr 17, 2024
@good-lly
Copy link
Owner Author

nei, focus to rewrite for s3 compatibility -> #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant