island: Rename start_island() -> main()

This commit is contained in:
Mike Salvatore 2021-06-03 11:01:03 -04:00
parent 3917663c5c
commit c40af5073b
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
from monkey_island.startup import start_island
from monkey_island.main import main
if "__main__" == __name__:
start_island()
main()

View File

@ -4,7 +4,7 @@ import monkey_island.setup.gevent_setup # noqa: F401 isort:skip
from monkey_island.cc.server_utils.island_logger import setup_default_failsafe_logging
def start_island():
def main():
# This is here in order to catch EVERYTHING, some functions are being called on
# imports, so the log init needs to be first.
try:
@ -19,4 +19,4 @@ def start_island():
if "__main__" == __name__:
start_island()
main()