Skip to content

Commit f651278

Browse files
authored
Merge pull request #8521 from hashicorp/docs-hearbeat
docs: s/hearbeat/heartbeat and fix link
2 parents 1cb9e75 + b2dea4c commit f651278

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/heartbeatstop_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/stretchr/testify/require"
1212
)
1313

14-
func TestHearbeatStop_allocHook(t *testing.T) {
14+
func TestHeartbeatStop_allocHook(t *testing.T) {
1515
t.Parallel()
1616

1717
server, _, cleanupS1 := testServer(t, nil)

website/pages/docs/job-specification/group.mdx

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

0 commit comments

Comments
 (0)