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

chore: Make bucket name required in storage config #2336

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

vrongmeal
Copy link
Contributor

No description provided.

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
@vrongmeal vrongmeal merged commit 2aa8ad3 into main Jan 2, 2024
13 checks passed
@vrongmeal vrongmeal deleted the vrongmeal/bucket-name branch January 2, 2024 16:21
@@ -186,7 +189,8 @@ impl EngineStorageConfig {
let container_name = opts
.get("container_name")
.cloned()
.or(url.host_str().map(|h| h.to_string()));
.or(url.host_str().map(|h| h.to_string()))
.ok_or(ExecError::MissingBucketName)?;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be MissingBucketName, if it's container_name ?

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