Cherry-pick the initialization fix in pr#5291
This commit is contained in:
parent
991d61923f
commit
555bb70663
|
@ -45,6 +45,7 @@ ACTOR Future<bool> profileCommandActor(Reference<ITransaction> tr, std::vector<S
|
||||||
fprintf(stderr, "ERROR: Usage: profile client <get|set>\n");
|
fprintf(stderr, "ERROR: Usage: profile client <get|set>\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
wait(GlobalConfig::globalConfig().onInitialized());
|
||||||
if (tokencmp(tokens[2], "get")) {
|
if (tokencmp(tokens[2], "get")) {
|
||||||
if (tokens.size() != 3) {
|
if (tokens.size() != 3) {
|
||||||
fprintf(stderr, "ERROR: Addtional arguments to `get` are not supported.\n");
|
fprintf(stderr, "ERROR: Addtional arguments to `get` are not supported.\n");
|
||||||
|
|
Loading…
Reference in New Issue