Skip to content

Commit f9ab20d

Browse files
committed
fix: rename main loop
1 parent 6c88c9c commit f9ab20d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn config_paths() -> (std::path::PathBuf, Option<std::path::PathBuf>) {
5252
(args.config, args.metrics_config)
5353
}
5454

55-
async fn main_loop(config: &'static IngestorConfig) {
55+
async fn run_services(config: &'static IngestorConfig) {
5656
println!("Starting log ingestor with config: \n {:?}", &config);
5757

5858
let metrics = if config.enable_metrics {
@@ -79,5 +79,5 @@ async fn main() {
7979
rustls::crypto::aws_lc_rs::default_provider()
8080
.install_default()
8181
.expect("Failed to install rustls crypto provider");
82-
main_loop(config).await
82+
run_services(config).await
8383
}

0 commit comments

Comments
 (0)