From 2b60b4ed8197ea139fdf61c6643916360d487163 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 30 Jun 2022 13:01:58 -0400 Subject: [PATCH] Island: Remove comment in IslandMode resource The HTTP response status codes seem reasonable. --- monkey/monkey_island/cc/resources/island_mode.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/island_mode.py b/monkey/monkey_island/cc/resources/island_mode.py index b4d358b66..5d7343459 100644 --- a/monkey/monkey_island/cc/resources/island_mode.py +++ b/monkey/monkey_island/cc/resources/island_mode.py @@ -34,7 +34,6 @@ class IslandMode(AbstractResource): return make_response({}, 200) except (AttributeError, json.decoder.JSONDecodeError): return make_response({}, 400) - # API Spec: Check if HTTP codes make sense except ValueError: return make_response({}, 422)