Skip to content

Commit

Permalink
fix: correct boolean flag
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 10, 2024
1 parent 4bb4c2e commit b7b188f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl ObjectStorageSession {
.map_err(|error| anyhow!("failed to initialize object storage bucket client: {error}"))?
.with_path_style();

if check_bucket_exists(&bucket).await {
if !check_bucket_exists(&bucket).await {
if bucket_create {
let config = BucketConfiguration::private();
let response = Bucket::create_with_path_style(
Expand Down

0 comments on commit b7b188f

Please sign in to comment.