Skip to content

Commit 69af8a8

Browse files
committed
island: Remove MongoClient() call from BootloaderHttpServer
1 parent e8947a3 commit 69af8a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

monkey/monkey_island/cc/server_utils/bootloader_server.py

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from socketserver import ThreadingMixIn
44
from urllib import parse
55

6-
import pymongo
76
import requests
87
import urllib3
98

@@ -17,7 +16,6 @@
1716

1817
class BootloaderHttpServer(ThreadingMixIn, HTTPServer):
1918
def __init__(self, mongo_url):
20-
pymongo.MongoClient(mongo_url)
2119
server_address = ("", 5001)
2220
super().__init__(server_address, BootloaderHTTPRequestHandler)
2321

0 commit comments

Comments
 (0)