Skip to content

Commit

Permalink
revert debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yezizp2012 committed Jan 8, 2024
1 parent ed6f688 commit dd8e14e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/meta/node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,9 @@ pub fn start(opts: MetaNodeOpts) -> Pin<Box<dyn Future<Output = ()> + 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);

Expand Down

0 comments on commit dd8e14e

Please sign in to comment.