diff --git a/src/ray/raylet/node_manager.cc b/src/ray/raylet/node_manager.cc index 2d388b5ba..722fc98b5 100644 --- a/src/ray/raylet/node_manager.cc +++ b/src/ray/raylet/node_manager.cc @@ -88,8 +88,7 @@ ray::Status NodeManager::RegisterGcs() { HeartbeatAdded(client, id, heartbeat_data); }; RAY_RETURN_NOT_OK(gcs_client_->heartbeat_table().Subscribe( - UniqueID::nil(), UniqueID::nil(), heartbeat_added, - [this](gcs::AsyncGcsClient *client) { + UniqueID::nil(), UniqueID::nil(), heartbeat_added, [](gcs::AsyncGcsClient *client) { RAY_LOG(DEBUG) << "heartbeat table subscription done callback called."; }));