Skip to content

Commit

Permalink
try update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nivras committed Nov 30, 2021
1 parent cb655e5 commit 3f64887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/meta/processors/admin/HBProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ void HBProcessor::process(const cpp2::HBReq& req) {
auto partListVal = MetaKeyUtils::diskPartsVal(partList);
std::string key = MetaKeyUtils::diskPartsKey(host, spaceId, path);
std::vector<kvstore::KV> data;
data.push_back(std::make_pair(key, partListVal));
LOG(INFO) << "data.key: " << key << "value: " << partListVal;
data.emplace_back(key, partListVal);
doPut(std::move(data));
}
}
Expand Down

0 comments on commit 3f64887

Please sign in to comment.