Island: Rename IpAddresses -> IPAddresses

This commit is contained in:
Shreya Malviya 2022-08-04 12:53:36 +05:30
parent 6b89f38f87
commit e4d7f36985
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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
"""