aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core/src/state/database.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warden-core/src/state/database.rs')
-rw-r--r--lib/warden-core/src/state/database.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/warden-core/src/state/database.rs b/lib/warden-core/src/state/database.rs
index cf34484..4167424 100644
--- a/lib/warden-core/src/state/database.rs
+++ b/lib/warden-core/src/state/database.rs
@@ -3,7 +3,7 @@ use tracing::{debug, error};
use crate::{WardenError, config::cli::database::Database};
-pub async fn connect(config: &Database) -> Result<PgPool, WardenError> {
+pub(crate) async fn connect(config: &Database) -> Result<PgPool, WardenError> {
let url = config.get_url()?;
let host = url.host_str();
debug!(host = host, "connecting to database");