forked from kemitix/git-next
fix: clean up instrumentation
This commit is contained in:
parent
7dab1da44b
commit
1c9f7cb4ea
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use crate::server::{config, forge};
|
||||||
|
|
||||||
use super::{RepoActor, StartMonitoring, StartRepo};
|
use super::{RepoActor, StartMonitoring, StartRepo};
|
||||||
|
|
||||||
#[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name))]
|
#[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name), skip_all)]
|
||||||
pub async fn validate_positions(
|
pub async fn validate_positions(
|
||||||
repo_details: config::RepoDetails,
|
repo_details: config::RepoDetails,
|
||||||
config: config::RepoConfig,
|
config: config::RepoConfig,
|
||||||
|
|
|
@ -28,7 +28,7 @@ pub async fn get_commit_histories(
|
||||||
Ok(histories)
|
Ok(histories)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(fields(%branch_name))]
|
#[tracing::instrument(fields(%branch_name),skip_all)]
|
||||||
async fn get_commit_history(
|
async fn get_commit_history(
|
||||||
repo_details: &crate::server::config::RepoDetails,
|
repo_details: &crate::server::config::RepoDetails,
|
||||||
branch_name: &BranchName,
|
branch_name: &BranchName,
|
||||||
|
|
Loading…
Reference in a new issue