From edfb4f799f096737e3b41d39b03dc6f8edfa7271 Mon Sep 17 00:00:00 2001 From: Nick Spain Date: Fri, 19 Mar 2021 00:41:36 +1100 Subject: [PATCH] Fix indentation of json-jobs docs --- website/content/api-docs/json-jobs.mdx | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/website/content/api-docs/json-jobs.mdx b/website/content/api-docs/json-jobs.mdx index 992d4402b706..e9ab3d6974eb 100644 --- a/website/content/api-docs/json-jobs.mdx +++ b/website/content/api-docs/json-jobs.mdx @@ -489,30 +489,30 @@ The `Task` object supports the following keys: - `Header`: Headers for HTTP checks. Should be an object where the values are an array of values. Headers will be written once for each value. - - `Interval`: This indicates the frequency of the health checks that - Consul will perform. + - `Interval`: This indicates the frequency of the health checks that + Consul will perform. - - `Timeout`: This indicates how long Consul will wait for a health - check query to succeed. + - `Timeout`: This indicates how long Consul will wait for a health + check query to succeed. - - `Method`: The HTTP method to use for HTTP checks. Defaults to GET. + - `Method`: The HTTP method to use for HTTP checks. Defaults to GET. - - `Body`: The HTTP body to use for HTTP checks. Defaults to an empty string. + - `Body`: The HTTP body to use for HTTP checks. Defaults to an empty string. - - `Path`: The path of the HTTP endpoint which Consul will query to query - the health of a service if the type of the check is `http`. Nomad - will add the IP of the service and the port, users are only required - to add the relative URL of the health check endpoint. Absolute paths - are not allowed. + - `Path`: The path of the HTTP endpoint which Consul will query to query + the health of a service if the type of the check is `http`. Nomad + will add the IP of the service and the port, users are only required + to add the relative URL of the health check endpoint. Absolute paths + are not allowed. - - `Protocol`: This indicates the protocol for the HTTP checks. Valid - options are `http` and `https`. We default it to `http`. + - `Protocol`: This indicates the protocol for the HTTP checks. Valid + options are `http` and `https`. We default it to `http`. - - `Command`: This is the command that the Nomad client runs for doing - script based health check. + - `Command`: This is the command that the Nomad client runs for doing + script based health check. - - `Args`: Additional arguments to the `command` for script based health - checks. + - `Args`: Additional arguments to the `command` for script based health + checks. - `TLSSkipVerify`: If true, Consul will not attempt to verify the certificate when performing HTTPS checks. Requires Consul >= 0.7.2.