Last active
July 20, 2019 15:10
-
-
Save KamilLelonek/d5a161c47ea09aafe5d3603f3e496f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Healthchex.Probes.Liveness do | |
# ... | |
def call(%Plug.Conn{request_path: path} = conn, %{path: path, resp: resp}) do | |
conn | |
|> send_resp(200, resp) | |
|> halt() | |
end | |
def call(conn, _opts), do: conn | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment