From dd8e14efb1c458f157eb86a4e923fe32a71dfea5 Mon Sep 17 00:00:00 2001 From: August Date: Mon, 8 Jan 2024 17:53:02 +0800 Subject: [PATCH] revert debug --- src/meta/node/src/lib.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/meta/node/src/lib.rs b/src/meta/node/src/lib.rs index a47b8db133148..1a3baf23053c6 100644 --- a/src/meta/node/src/lib.rs +++ b/src/meta/node/src/lib.rs @@ -200,12 +200,9 @@ pub fn start(opts: MetaNodeOpts) -> Pin + Send>> { }, MetaBackend::Mem => MetaStoreBackend::Mem, }; - // let sql_backend = opts - // .sql_endpoint - // .map(|endpoint| MetaStoreSqlBackend { endpoint }); - let sql_backend = Some(MetaStoreSqlBackend { - endpoint: "postgres://postgres:@localhost:5432/postgres".to_string(), - }); + let sql_backend = opts + .sql_endpoint + .map(|endpoint| MetaStoreSqlBackend { endpoint }); validate_config(&config);