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);