From e4d7f36985c7d15f4124846a3fe22d5d0c51d6d1 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 4 Aug 2022 12:53:36 +0530 Subject: [PATCH] Island: Rename IpAddresses -> IPAddresses --- monkey/monkey_island/cc/app.py | 4 ++-- monkey/monkey_island/cc/resources/ip_addresses.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index cd7d46018..cf8e5b4cd 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -33,7 +33,7 @@ from monkey_island.cc.resources.blackbox.telemetry_blackbox_endpoint import ( from monkey_island.cc.resources.edge import Edge from monkey_island.cc.resources.exploitations.manual_exploitation import ManualExploitation from monkey_island.cc.resources.exploitations.monkey_exploitation import MonkeyExploitation -from monkey_island.cc.resources.ip_addresses import IpAddresses +from monkey_island.cc.resources.ip_addresses import IPAddresses from monkey_island.cc.resources.island_mode import IslandMode from monkey_island.cc.resources.local_run import LocalRun from monkey_island.cc.resources.log import Log @@ -179,7 +179,7 @@ def init_restful_endpoints(api: FlaskDIWrapper): api.add_resource(TelemetryFeed) api.add_resource(Log) api.add_resource(IslandLog) - api.add_resource(IpAddresses) + api.add_resource(IPAddresses) # API Spec: These two should be the same resource, GET for download and POST for upload api.add_resource(PBAFileDownload) diff --git a/monkey/monkey_island/cc/resources/ip_addresses.py b/monkey/monkey_island/cc/resources/ip_addresses.py index 85e88b094..981adfb8d 100644 --- a/monkey/monkey_island/cc/resources/ip_addresses.py +++ b/monkey/monkey_island/cc/resources/ip_addresses.py @@ -4,7 +4,7 @@ from monkey_island.cc.resources.AbstractResource import AbstractResource from monkey_island.cc.resources.request_authentication import jwt_required -class IpAddresses(AbstractResource): +class IPAddresses(AbstractResource): """ Endpoint for the Monkey Island's local IP addresses """