diff --git a/src/client/connector.rs b/src/client/connector.rs index bf9a0fefb..53a20aeed 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -865,7 +865,7 @@ impl fut::ActorFuture for Maintenance { let conn = AcquiredConn(key.clone(), Some(Rc::clone(&act.pool))); fut::WrapFuture::::actfuture( - Connector::from_registry().send( + act.resolver.send( ResolveConnect::host_and_port(&conn.0.host, conn.0.port) .timeout(waiter.conn_timeout), ),