Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1094 from gleybersonandrade/fixes
Browse files Browse the repository at this point in the history
Change API server status HTTP code to 200
  • Loading branch information
hdiogenes committed Jul 21, 2020
2 parents b91e5c3 + d48fd0f commit 0ab8ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kytos/core/api_server.py
Expand Up @@ -138,7 +138,7 @@ def _register_web_ui(self):
@staticmethod
def status_api():
"""Display kytos status using the route ``/kytos/status/``."""
return '{"response": "running"}', HTTPStatus.CREATED.value
return '{"response": "running"}', HTTPStatus.OK.value

def stop_api_server(self):
"""Send a shutdown request to stop Api Server."""
Expand Down

0 comments on commit 0ab8ad8

Please sign in to comment.