diff --git a/docs/src/reference.md b/docs/src/reference.md index 656754f..7f79daf 100644 --- a/docs/src/reference.md +++ b/docs/src/reference.md @@ -56,5 +56,4 @@ uri generatefilterfromentity_type generatefilterfromparams generatefilterfromattributes -healthcheck ``` diff --git a/src/utils.jl b/src/utils.jl index 2e6b73e..bc8e225 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1,19 +1,3 @@ -""" - healthcheck(mlf::MLFlow) - -Checks if MLFlow server is up and running. Returns `true` if it is, `false` -otherwise. -""" -function healthcheck(mlf) - uri = "$(mlf.baseuri)/health" - try - response = HTTP.get(uri) - return String(response.body) == "OK" - catch e - return false - end -end - """ uri(mlf::MLFlow, endpoint="", query=missing)