Skip to content

Commit 0b28e74

Browse files
committed
fmt
1 parent 19b4124 commit 0b28e74

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

crates/ingress-writer/src/main.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ struct Args {
2424
#[arg(long, env = "TIPS_INGRESS_WRITER_KAFKA_PROPERTIES_FILE")]
2525
kafka_properties_file: String,
2626

27-
#[arg(
28-
long,
29-
env = "TIPS_INGRESS_KAFKA_TOPIC",
30-
default_value = "tips-ingress"
31-
)]
27+
#[arg(long, env = "TIPS_INGRESS_KAFKA_TOPIC", default_value = "tips-ingress")]
3228
ingress_topic: String,
3329

3430
#[arg(
@@ -143,7 +139,12 @@ async fn main() -> Result<()> {
143139
let bundle_store = PostgresDatastore::connect(args.database_url).await?;
144140
bundle_store.run_migrations().await?;
145141

146-
let writer = IngressWriter::new(consumer, args.ingress_topic.clone(), bundle_store, publisher)?;
142+
let writer = IngressWriter::new(
143+
consumer,
144+
args.ingress_topic.clone(),
145+
bundle_store,
146+
publisher,
147+
)?;
147148

148149
info!(
149150
"Ingress Writer service started, consuming from topic: {}",

0 commit comments

Comments
 (0)