fix(tf): forward node readiness control

This commit is contained in:
andrussal 2026-07-17 11:19:06 +02:00
parent 15b8686f2d
commit 48c45fd4b3
2 changed files with 8 additions and 0 deletions

View File

@ -128,6 +128,10 @@ impl<E: LocalDeployerEnv> NodeControlHandle<E> for ManualCluster<E> {
self.cluster.start_node_with(name, options).await
}
async fn wait_node_ready(&self, name: &str) -> Result<(), DynError> {
self.cluster.wait_node_ready(name).await.map_err(Into::into)
}
fn node_client(&self, name: &str) -> Option<E::NodeClient> {
self.cluster.node_client(name)
}

View File

@ -577,6 +577,10 @@ impl<E: LocalDeployerEnv> NodeControlHandle<E> for NodeManager<E> {
.map_err(|err| err.into())
}
async fn wait_node_ready(&self, name: &str) -> Result<(), DynError> {
self.wait_node_ready(name).await.map_err(|err| err.into())
}
fn node_client(&self, name: &str) -> Option<E::NodeClient> {
self.node_client(name)
}