Fix vitastor-cli alloc-osd, use vitastor-cli in make-osd.sh

This commit is contained in:
Vitaliy Filippov
2021-11-21 00:01:03 +03:00
parent eb7ad2c114
commit f0ebfae3b8
2 changed files with 5 additions and 14 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ struct alloc_osd_t
{
if (state == 1)
goto resume_1;
while (true)
do
{
etcd_txn(json11::Json::object {
{ "compare", json11::Json::array {
@@ -98,7 +98,7 @@ struct alloc_osd_t
new_id = used[e-1]+1;
}
}
}
} while (!result["succeeded"].bool_value());
state = 100;
}