Skip to content

Commit

Permalink
fix a compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-jiang committed Jan 9, 2025
1 parent 00de9d8 commit 67fb2dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/topology/running.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ impl RunningTopology {
"Failed to gracefully shut down in time. Killing components."
);
Result::Err(remaining_components)
}) as future::BoxFuture<'static, Result<(), ()>>
}) as future::BoxFuture<'static, Result<(), String>>
} else {
Box::pin(future::pending()) as future::BoxFuture<'static, Result<(), ()>>
Box::pin(future::pending()) as future::BoxFuture<'static, Result<(), String>>
};

// Reports in intervals which components are still running.
Expand Down

0 comments on commit 67fb2dc

Please sign in to comment.