Replace hardcoded hgsql db address in mononoke_hg_sync_job

Summary: Parse config inside mononoke_hg_sync_job to get proper hgsql address for repo, instead using address from command-line argument.

Reviewed By: krallin

Differential Revision: D21638740

fbshipit-source-id: 1319126535c2c148be47172663e86a82b5e92b40
This commit is contained in:
Egor Tkachenko 2020-06-01 06:03:17 -07:00 committed by Facebook GitHub Bot
parent fde6230ea2
commit 84586b342e

View File

@ -26,7 +26,7 @@ fn main() {
.expect("Failed to canonicalize base_path");
conf.base_path(base_path);
let options = "";
let options = "serde";
if !options.is_empty() {
conf.options(options);
}