Cleaning up remaining Local Mode Code (#7865)

This commit is contained in:
ijrsvt
2020-04-03 17:54:15 -07:00
committed by GitHub
parent 185d591108
commit e03f687b84
3 changed files with 0 additions and 25 deletions
-14
View File
@@ -921,17 +921,3 @@ class Node:
True if any process that wasn't explicitly killed is still alive.
"""
return not any(self.dead_processes())
# TODO(ilr) Remove this soon
class LocalNode:
"""Imitate the node that manages the processes in local mode."""
def kill_all_processes(self, *args, **kwargs):
"""Kill all of the processes."""
pass # Keep this function empty because it will be used in worker.py
@property
def address_info(self):
"""Get a dictionary of addresses."""
return {} # Return a null dict.