Island: Add comment about 204 status code to AgentConfiguration resource

This commit is contained in:
Mike Salvatore 2022-07-22 11:47:38 -04:00
parent efab944e8b
commit c86b637598
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class AgentConfiguration(AbstractResource):
try:
configuration_object = AgentConfigurationObject.from_mapping(request.json)
self._agent_configuration_repository.store_configuration(configuration_object)
# API Spec: Should return 204 (NO CONTENT)
return make_response({}, 200)
except (InvalidConfigurationError, json.JSONDecodeError) as err:
return make_response(