Skip to content

Commit

Permalink
fix(ci): qualify Report to avoid build errors (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr authored Jul 19, 2022
1 parent 7086aae commit 160b6af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/inx-chronicle/src/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,14 @@ impl HandleEvent<Report<super::api::ApiWorker>> for Launcher {

#[cfg(feature = "metrics")]
#[async_trait]
impl HandleEvent<Report<super::metrics::MetricsWorker>> for Launcher {
impl HandleEvent<chronicle::runtime::Report<super::metrics::MetricsWorker>> for Launcher {
async fn handle_event(
&mut self,
cx: &mut ActorContext<Self>,
event: Report<super::metrics::MetricsWorker>,
config: &mut Self::State,
) -> Result<(), Self::Error> {
use chronicle::runtime::Report;
match event {
Report::Success(_) => {
cx.abort().await;
Expand Down

0 comments on commit 160b6af

Please sign in to comment.