Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorgan committed Jan 10, 2025
1 parent 96ae1d3 commit 6f6498c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions integrations/object_store/examples/s3_with_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ use std::time::Duration;
async fn main() {
// Configure S3
let mut cfg = S3Config::default();
cfg.access_key_id = Some("minioadmin".to_string());
cfg.secret_access_key = Some("minioadmin".to_string());
cfg.endpoint = Some("http://127.0.0.1:9000".to_string());
cfg.region = Some("local".to_string());
cfg.bucket = "first-bucket".to_string();
cfg.access_key_id = Some("my_access_key".to_string());
cfg.secret_access_key = Some("my_secret_key".to_string());
cfg.endpoint = Some("my_endpoint".to_string());
cfg.region = Some("my_region".to_string());
cfg.bucket = "my_bucket".to_string();

// Create a new operator
let operator = Operator::from_config(cfg).unwrap().finish();
Expand Down
2 changes: 1 addition & 1 deletion integrations/object_store/tests/behavior/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ where
}

pub fn new_file_path(dir: &str) -> String {
format!("{}/{}", dir, uuid::Uuid::new_v4().to_string())
format!("{}/{}", dir, uuid::Uuid::new_v4())
}

0 comments on commit 6f6498c

Please sign in to comment.