summaryrefslogtreecommitdiff
path: root/opendc/api/v2/specifications/failure-models/endpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/api/v2/specifications/failure-models/endpoint.py')
-rw-r--r--opendc/api/v2/specifications/failure-models/endpoint.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/opendc/api/v2/specifications/failure-models/endpoint.py b/opendc/api/v2/specifications/failure-models/endpoint.py
index fff668c0..6397e27e 100644
--- a/opendc/api/v2/specifications/failure-models/endpoint.py
+++ b/opendc/api/v2/specifications/failure-models/endpoint.py
@@ -11,8 +11,4 @@ def GET(request):
# Return the FailureModels
- return Response(
- 200,
- 'Successfully retrieved FailureModels.',
- [x.to_JSON() for x in failure_models]
- )
+ return Response(200, 'Successfully retrieved FailureModels.', [x.to_JSON() for x in failure_models])