Verified Commit bf2fe140 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Fix server returning invalid op_id in deploy_adhoc_storage()

parent 6d978571
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -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: {} <= "