We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b77e0eb commit e1db44eCopy full SHA for e1db44e
tonic/src/service/router.rs
@@ -150,8 +150,8 @@ where
150
type Future = RoutesFuture;
151
152
#[inline]
153
- fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
154
- Poll::Ready(Ok(()))
+ fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
+ Service::<Request<B>>::poll_ready(&mut self.router, cx).map_err(|e| match e {})
155
}
156
157
fn call(&mut self, req: Request<B>) -> Self::Future {
0 commit comments