[Core] Add name of actor in the result of ray.actors() (#11828)

Added name field to `actor_info`

Fixes #11112
This commit is contained in:
Kishan Sagathiya
2020-11-07 00:15:44 +05:30
committed by GitHub
parent 12ae0f20c6
commit c5e6c90e1e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -237,6 +237,7 @@ class GlobalState:
"""
actor_info = {
"ActorID": binary_to_hex(actor_table_data.actor_id),
"Name": actor_table_data.name,
"JobID": binary_to_hex(actor_table_data.job_id),
"Address": {
"IPAddress": actor_table_data.address.ip_address,