mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-22 16:00:38 +00:00
refactor(frontend): minor changes around FrontendInstance constructor (#748)
* refactor: minor changes in some testing codes Co-authored-by: luofucong <luofucong@greptime.com>
This commit is contained in:
@@ -193,7 +193,6 @@ async fn build_frontend(
|
||||
datanode_instance: InstanceRef,
|
||||
) -> Result<Frontend<FeInstance>> {
|
||||
let mut frontend_instance = FeInstance::new_standalone(datanode_instance.clone());
|
||||
frontend_instance.set_catalog_manager(datanode_instance.catalog_manager().clone());
|
||||
frontend_instance.set_script_handler(datanode_instance);
|
||||
Ok(Frontend::new(fe_opts, frontend_instance, plugins))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user