Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrius Bentkus authored and rtyler committed Apr 12, 2024
1 parent a03400b commit 6dc46c3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,10 @@ async fn main() -> anyhow::Result<()> {
.get_one::<usize>("min_bytes_per_file")
.unwrap();

let transforms: HashMap<String, String> =
ingest_matches
let transforms: HashMap<String, String> = ingest_matches
.get_many::<String>("transform")
.map(|list| {
list.map(|t| parse_transform(t).unwrap())
.collect()

}).unwrap_or_else(|| HashMap::new());
.map(|list| list.map(|t| parse_transform(t).unwrap()).collect())
.unwrap_or_else(|| HashMap::new());

let dlq_table_location = ingest_matches
.get_one::<String>("dlq_table_location")
Expand Down

0 comments on commit 6dc46c3

Please sign in to comment.