Skip to content
Snippets Groups Projects
Verified Commit bf2fe140 authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Fix server returning invalid op_id in deploy_adhoc_storage()

parent 6d978571
No related branches found
No related tags found
1 merge request!73Resolve "Use C++20"
......@@ -384,7 +384,7 @@ deploy_adhoc_storage(const server& srv, const adhoc_storage& adhoc_storage) {
}
LOGGER_INFO("rpc id: {} name: {} from: {} <= "
"body: {{retval: {}}}] [op_id: {}]",
"body: {{retval: {}}} [op_id: {}]",
rpc_id, std::quoted("ADM_"s + __FUNCTION__),
std::quoted(rpc_client.self_address()),
admire::error_code::success, out.op_id);
......
......@@ -528,6 +528,7 @@ ADM_deploy_adhoc_storage(hg_handle_t h) {
std::quoted(get_address(h)), ec);
}
out.op_id = rpc_id;
out.retval = ec;
LOGGER_INFO("rpc id: {} name: {} to: {} <= "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment