Skip to content

Commit

Permalink
removing unnecesary log
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez committed Nov 6, 2024
1 parent fa09079 commit 3908765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions integrationos-emit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ fn main() -> Result<()> {
.block_on(async move {
let server: Server = Server::init(config).await?;

info!("Server started");

server.run().await
})
}
4 changes: 2 additions & 2 deletions integrationos-emit/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::{
use anyhow::Result as AnyhowResult;
use axum::Router;
use axum_server::Handle;
use integrationos_domain::{MongoStore, Store};
use integrationos_domain::{MongoStore, Store, Unit};
use mongodb::Client;
use reqwest_middleware::{reqwest, ClientBuilder, ClientWithMiddleware};
use reqwest_retry::{policies::ExponentialBackoff, RetryTransientMiddleware};
Expand Down Expand Up @@ -115,7 +115,7 @@ impl Server {
pub async fn run(&self) -> AnyhowResult<()> {
let app = router::get_router(&self.state).await;

let app: Router<()> = app.with_state(self.state.clone());
let app: Router<Unit> = app.with_state(self.state.clone());

tracing::info!("Emitter server listening on {}", self.state.config.address);

Expand Down

0 comments on commit 3908765

Please sign in to comment.