Formatting.
This commit is contained in:
parent
f8a0cc2681
commit
7efe5e2461
|
@ -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;
|
||||
|
|
|
@ -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::{
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue