Add documentation for job name parameter (#8566)

This commit is contained in:
Buck Doyle 2020-07-30 10:13:39 -05:00 committed by GitHub
commit 58ce7c298f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,9 @@ job "docs" {
- `meta` <code>([Meta][]: nil)</code> - Specifies a key-value map that annotates
with user-defined metadata.
- `name` `(string: <optional>)` - Specifies a name for the job, which otherwise
defaults to the job ID.
- `migrate` <code>([Migrate][]: nil)</code> - Specifies the groups strategy for
migrating off of draining nodes. If omitted, a default migration strategy is
applied. Only service jobs with a count greater than 1 support migrate stanzas.