Skip to content

Commit

Permalink
Fix indentation of json-jobs docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nick96 committed Mar 18, 2021
1 parent 39a33ef commit edfb4f7
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions website/content/api-docs/json-jobs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit edfb4f7

Please sign in to comment.