diff --git a/harmony/src/infra/inventory/sqlite.rs b/harmony/src/infra/inventory/sqlite.rs index 073da78..967bcb9 100644 --- a/harmony/src/infra/inventory/sqlite.rs +++ b/harmony/src/infra/inventory/sqlite.rs @@ -15,15 +15,12 @@ pub struct SqliteInventoryRepository { impl SqliteInventoryRepository { pub async fn new(database_url: &str) -> Result { - let _pool = SqlitePool::connect(database_url) + let pool = SqlitePool::connect(database_url) .await .map_err(|e| RepoError::ConnectionFailed(e.to_string()))?; - info!( - "SQLite inventory repository initialized at '{}'", - database_url, - ); - Ok(Self { pool: _pool }) + info!("SQLite inventory repository initialized at '{database_url}'"); + Ok(Self { pool }) } }