Skip to content

Commit

Permalink
fix num_filtered
Browse files Browse the repository at this point in the history
Signed-off-by: Ruiyang Wang <[email protected]>
  • Loading branch information
rynewang committed Aug 21, 2024
1 parent ad5b6b1 commit dec2d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ray/gcs/gcs_server/gcs_node_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ void GcsNodeManager::HandleGetAllNodeInfo(rpc::GetAllNodeInfoRequest request,
}
return true;
};
size_t num_added = 0;
size_t num_filtered = 0;
int64_t num_added = 0;
int64_t num_filtered = 0;
auto add_to_response =
[limit, reply, filter_fn, &num_added, &num_filtered](
const absl::flat_hash_map<NodeID, std::shared_ptr<rpc::GcsNodeInfo>> &nodes) {
Expand Down

0 comments on commit dec2d79

Please sign in to comment.