fix(metasrv)!: do not overwrite boolean options unconditionally (#2161)

* fix: do not overwrite boolean options unconditionally

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix sqlness start command

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2023-08-14 11:04:54 +08:00
committed by GitHub
parent 7f51141ed0
commit f6b53984da
3 changed files with 15 additions and 5 deletions
+2
View File
@@ -177,8 +177,10 @@ impl Env {
subcommand.to_string(),
"start".to_string(),
"--use-memory-store".to_string(),
"true".to_string(),
"--http-addr=127.0.0.1:5001".to_string(),
"--disable-region-failover".to_string(),
"true".to_string(),
];
(args, METASRV_ADDR.to_string())
}