Merge pull request #8521 from hashicorp/docs-hearbeat

docs: s/hearbeat/heartbeat and fix link
This commit is contained in:
Michael Schurter 2020-07-23 14:07:24 -07:00 committed by GitHub
commit 1400e0480d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
)
func TestHearbeatStop_allocHook(t *testing.T) {
func TestHeartbeatStop_allocHook(t *testing.T) {
t.Parallel()
server, _, cleanupS1 := testServer(t, nil)

View File

@ -83,7 +83,7 @@ job "docs" {
will stop allocations based on this task group. By default, a client
will not stop an allocation until explicitly told to by a server. A
client that fails to heartbeat to a server within the
`hearbeat_grace` window and any allocations running on it will be
[`heartbeat_grace`] window and any allocations running on it will be
marked "lost" and Nomad will schedule replacement
allocations. However, these replaced allocations will continue to
run on the non-responsive client; an operator may desire that these
@ -247,7 +247,7 @@ group "second" {
[spread]: /docs/job-specification/spread 'Nomad spread Job Specification'
[affinity]: /docs/job-specification/affinity 'Nomad affinity Job Specification'
[ephemeraldisk]: /docs/job-specification/ephemeral_disk 'Nomad ephemeral_disk Job Specification'
[`heartbeat_grace`]: /docs/configuration/server/#heartbeat_grace
[`heartbeat_grace`]: /docs/configuration/server#heartbeat_grace
[meta]: /docs/job-specification/meta 'Nomad meta Job Specification'
[migrate]: /docs/job-specification/migrate 'Nomad migrate Job Specification'
[network]: /docs/job-specification/network 'Nomad network Job Specification'