mirror of
https://github.com/wassname/ray.git
synced 2026-08-11 11:24:51 +08:00
Define a wrapper class for callback_data.data (#1301)
This commit is contained in:
@@ -26,6 +26,6 @@ void push_error(DBHandle *db_handle,
|
||||
UniqueID error_key = globally_unique_id();
|
||||
memcpy(info->error_key, error_key.id, sizeof(info->error_key));
|
||||
|
||||
init_table_callback(db_handle, NIL_ID, __func__, info, NULL, NULL,
|
||||
redis_push_error, NULL);
|
||||
init_table_callback(db_handle, NIL_ID, __func__, new CommonCallbackData(info),
|
||||
NULL, NULL, redis_push_error, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user