We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c88c9c commit f9ab20dCopy full SHA for f9ab20d
src/main.rs
@@ -52,7 +52,7 @@ fn config_paths() -> (std::path::PathBuf, Option<std::path::PathBuf>) {
52
(args.config, args.metrics_config)
53
}
54
55
-async fn main_loop(config: &'static IngestorConfig) {
+async fn run_services(config: &'static IngestorConfig) {
56
println!("Starting log ingestor with config: \n {:?}", &config);
57
58
let metrics = if config.enable_metrics {
@@ -79,5 +79,5 @@ async fn main() {
79
rustls::crypto::aws_lc_rs::default_provider()
80
.install_default()
81
.expect("Failed to install rustls crypto provider");
82
- main_loop(config).await
+ run_services(config).await
83
0 commit comments