From 57a136bb4d3bff8a4b2485d14e6a66990b40ff54 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 18 May 2024 22:28:51 +0100 Subject: [PATCH] feat(server): don't log validation ok --- crates/server/src/gitforge/forgejo/branch/validate_positions.rs | 1 - crates/server/src/gitforge/forgejo/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/server/src/gitforge/forgejo/branch/validate_positions.rs b/crates/server/src/gitforge/forgejo/branch/validate_positions.rs index 5ad5ba5..9facb33 100644 --- a/crates/server/src/gitforge/forgejo/branch/validate_positions.rs +++ b/crates/server/src/gitforge/forgejo/branch/validate_positions.rs @@ -140,7 +140,6 @@ pub async fn validate_positions( ); return Err(Error::BranchHasNoCommits(repo_config.branches().dev())); }; - info!("Validation - OK"); Ok(ValidatedPositions { main, diff --git a/crates/server/src/gitforge/forgejo/mod.rs b/crates/server/src/gitforge/forgejo/mod.rs index 870aa5e..a475b06 100644 --- a/crates/server/src/gitforge/forgejo/mod.rs +++ b/crates/server/src/gitforge/forgejo/mod.rs @@ -140,7 +140,6 @@ impl super::ForgeLike for ForgeJoEnv { info!("Validating..."); git::validate(&repository, &self.repo_details) .map_err(|e| git::repository::Error::Validation(e.to_string())) - .inspect(|_| info!("Validation - OK"))?; Ok(repository) } }