Formatting.

This commit is contained in:
Alejandro Cabeza Romero 2024-12-19 16:28:00 +01:00
parent f8a0cc2681
commit 7efe5e2461
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD
3 changed files with 3 additions and 4 deletions

View File

@ -6,9 +6,9 @@ use crate::overwatch::Services;
use crate::services::ServiceData;
use tokio::runtime::Handle;
use tokio::sync::mpsc::Sender;
use tracing::{error, info};
#[cfg(feature = "instrumentation")]
use tracing::instrument;
use tracing::{error, info};
// internal
use crate::services::relay::Relay;

View File

@ -15,9 +15,9 @@ use tokio::runtime::{Handle, Runtime};
use tokio::sync::mpsc::Receiver;
use tokio::sync::oneshot;
use tokio::task::JoinHandle;
use tracing::{error, info};
#[cfg(feature = "instrumentation")]
use tracing::instrument;
use tracing::{error, info};
// internal
use crate::overwatch::commands::{

View File

@ -181,8 +181,7 @@ impl<S: ServiceData> Relay<S> {
self.overwatch_handle.send(relay_command).await;
}
#[cfg_attr(feature = "instrumentation", instrument(skip_all, err(Debug)))
]
#[cfg_attr(feature = "instrumentation", instrument(skip_all, err(Debug)))]
async fn handle_relay_response(
&self,
receiver: oneshot::Receiver<RelayResult>,