提交 3f2fad72 编写于 作者: H HuangWei 提交者: QinZuoyan

shell: fix a bad parameter when split node_list_str (#266)

上级 dc5e93cf
......@@ -3139,7 +3139,7 @@ inline bool recover(command_executor *e, shell_context *sc, arguments args)
std::vector<dsn::rpc_address> node_list;
if (!node_list_str.empty()) {
std::vector<std::string> tokens;
dsn::utils::split_args(args.argv[1], tokens, ',');
dsn::utils::split_args(node_list_str.c_str(), tokens, ',');
if (tokens.empty()) {
fprintf(stderr, "can't parse node from node_list_str\n");
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册