Closed noeleont closed 1 year ago
I'll move the changes to a onFailure
function in appjson/healthcheck.go
and reopen the PR.
Since I'm not working with Go a lot can you tell me if this is a good approach or should I do it differently?
Apologies for the late review, but this should be ready to try now :)
Apologies for the late reply, but the code looks pretty good so far. Just needs a few fixes. Let me know if you'd like me to pick this up.
No worries, I will pick it up in the next days, thanks for the review!
@josegonzalez I implemented the changes :)
Last two review comments, should be relatively easy to fix :)
I rebased to your branch and squashed the commits to streamline the history. Thanks for your help!
as mentioned in #11 the on_failure parameter contains:
command:
Runs a command on the host with data about the healthcheck and the failing container.
url:
Sends the failed check data to the specified url