fix: brings back functions required by downstream projects (#5283)

This commit is contained in:
Ning Sun
2025-01-04 11:49:01 +08:00
committed by GitHub
parent 9bf9aa1082
commit 2caf003db0
2 changed files with 10 additions and 0 deletions

View File

@@ -62,6 +62,11 @@ impl Instance {
pub fn datanode(&self) -> &Datanode {
&self.datanode
}
/// allow customizing datanode for downstream projects
pub fn datanode_mut(&mut self) -> &mut Datanode {
&mut self.datanode
}
}
#[async_trait]

View File

@@ -66,6 +66,11 @@ impl Instance {
pub fn flownode(&self) -> &FlownodeInstance {
&self.flownode
}
/// allow customizing flownode for downstream projects
pub fn flownode_mut(&mut self) -> &mut FlownodeInstance {
&mut self.flownode
}
}
#[async_trait::async_trait]