docs: fix incorrect dispatch payload limit in API docs (#20433)

The dispatch payload limit is limited to 16KiB, not 64KiB. It's correct in the
command docs but incorrect in the API docs.

Ref: https://github.com/hashicorp/nomad/blob/v1.7.7/nomad/job_endpoint.go#L36-L38
Fixes: https://github.com/hashicorp/nomad/issues/20432
This commit is contained in:
Tim Gross
2024-04-18 10:20:15 -04:00
committed by GitHub
parent 363d2370f3
commit b662f1e6e5

View File

@@ -1774,7 +1774,7 @@ The table below shows this endpoint's support for
IDs.
- `Payload` `(string: "")` - Specifies a base64 encoded string containing the
payload. This is limited to 65536 bytes (64KiB).
payload. This is limited to 16384 bytes (16KiB).
- `Meta` `(meta<string|string>: nil)` - Specifies arbitrary metadata to pass to
the job.