Skip to content

Commit

Permalink
Remove deprecated heartbeat endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Oct 17, 2024
1 parent 7d44fa4 commit b92a9f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/palace/manager/api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,18 +582,6 @@ def application_version():
return app.manager.version.version()


# TODO: This route is deprecated and should be removed in a
# future release of the code, it has been left here for
# one release to ease any deployment issues.
@app.route("/heartbeat")
def heartbeat():
version_info = application_version()
version_info["WARNING"] = (
"The /heartbeat endpoint is deprecated. Please use /version.json instead."
)
return version_info


@app.route("/healthcheck.html")
def health_check():
return Response("", 200)
Expand Down

0 comments on commit b92a9f8

Please sign in to comment.