From 536d0bc75cfcb384f4884d88119712ae32c71893 Mon Sep 17 00:00:00 2001 From: Shreya Date: Wed, 5 May 2021 17:51:20 +0530 Subject: [PATCH] Remove unused `mongo_client` in `monkey_island/cc/server_utils/bootloader_server.py` --- monkey/monkey_island/cc/server_utils/bootloader_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/server_utils/bootloader_server.py b/monkey/monkey_island/cc/server_utils/bootloader_server.py index cc2742991..fa0b21378 100644 --- a/monkey/monkey_island/cc/server_utils/bootloader_server.py +++ b/monkey/monkey_island/cc/server_utils/bootloader_server.py @@ -17,7 +17,7 @@ logger = logging.getLogger(__name__) class BootloaderHttpServer(ThreadingMixIn, HTTPServer): def __init__(self, mongo_url): - self.mongo_client = pymongo.MongoClient(mongo_url) + pymongo.MongoClient(mongo_url) server_address = ("", 5001) super().__init__(server_address, BootloaderHTTPRequestHandler)