From 0a04e846ba83cb5ae37b30072e1aadc66290ddaa Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 8 Feb 2022 08:48:17 -0500 Subject: [PATCH] Agent: Add missing return type to HTTPFingerprinter --- monkey/infection_monkey/network/http_fingerprinter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/network/http_fingerprinter.py b/monkey/infection_monkey/network/http_fingerprinter.py index 190e056ef..6333dad6a 100644 --- a/monkey/infection_monkey/network/http_fingerprinter.py +++ b/monkey/infection_monkey/network/http_fingerprinter.py @@ -28,7 +28,7 @@ class HTTPFingerprinter(IFingerprinter): _: PingScanData, port_scan_data: Dict[int, PortScanData], options: Dict, - ): + ) -> FingerprintData: services = {} http_ports = set(options.get("http_ports", [])) ports_to_fingerprint = _get_open_http_ports(http_ports, port_scan_data)