mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #490] HealthCheck Suggestion #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @capncybo on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/490
Thanks Sigoden, I Absolutely LOVE your DUFS software.
Very much appreciated!!!
Perhaps your intent was ONLY for local server verification
[Note: I previously missed the (example) being ONLY the local loopback address 127.0.0.1]
Ex)
curl http://10.19.38.66:50000/dufs/health
{"status":"OK"}
And Re-reading it now... (It makes complete sense to me).
However, while previously tinkering around (with some other simple bash scripts) I was thinking perhaps something like...
Ex)
curl http://10.19.38.66:50000/dufs/health?simple
OK
Might be nice, & probably easy for you to implement.
Although I do understand... Almost any response should indicate the server is up & online...
So, I'm no longer sure of the validity of my ask, LOL
@sigoden commented on GitHub (Nov 26, 2024):
dufs already supports the health api #474
@capncybo commented on GitHub (Nov 26, 2024):
Thanks BUT, what I meant was... for DUFS to answer the HealthCheck in a simple format.
NOT just the already existing reply in json format.
But only If you append: "?simple" to the URL
Ex)
curl http://10.19.38.66:50000/dufs/health**?simple**
OK
@sigoden commented on GitHub (Nov 26, 2024):
We will not support this feature.
Just check if the value is
{"status":"OK"}or contains OK (grep OK).