Apply PR suggestions

This commit is contained in:
Marek Wolan
2024-02-29 10:14:31 +00:00
parent 33d2ecc26a
commit 8730330f73
6 changed files with 9 additions and 9 deletions

View File

@@ -1076,7 +1076,6 @@ class Router(NetworkNode):
:param episode: The episode number for which the router is being reset.
"""
self.software_manager.arp.clear()
# self.acl.reset_component_for_episode(episode)
for i, _ in self.network_interface.items():
self.enable_port(i)

View File

@@ -118,7 +118,7 @@ class WebServer(Service):
self.set_health_state(SoftwareHealthState.COMPROMISED)
return response
except Exception: # TODO: refactor this. Likely to cause silent bugs.
except Exception: # TODO: refactor this. Likely to cause silent bugs. (ADO ticket #2345 )
# something went wrong on the server
response.status_code = HttpStatusCode.INTERNAL_SERVER_ERROR
return response