Skip to content

Commit 30af96e

Browse files
Merge pull request #1141 from johnbiundo/patch-1
docs(terminus) fix minor typo's
2 parents d63c2f6 + 292ee90 commit 30af96e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/recipes/terminus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Our healthcheck(s) can be executed using a [controller](/controllers), which can
5050
$ nest generate controller health
5151
```
5252

53-
> info **Info** It is highly recommended to enable shutdown hooks in your application. The Terminus integration makes use of this lifecycle event if enabled. Read more about shutdown hooks [here](fundamentals/lifecycle-events#application-shutdown)
53+
> info **Info** It is highly recommended to enable shutdown hooks in your application. The Terminus integration makes use of this lifecycle event if enabled. Read more about shutdown hooks [here](fundamentals/lifecycle-events#application-shutdown).
5454
5555
#### DNS Healthcheck
5656

@@ -126,7 +126,7 @@ The interface of this response object can be accessed from the `@nestjs/terminus
126126

127127
In some cases, the predefined health indicators provided by `@nestjs/terminus` do not cover all of your health check requirements. In that case, you can set up a custom health indicator according to your needs.
128128

129-
Let's get started by creating a service that will represent our custom indicator. To get a basic understanding of how an indicator is structured, we will create an example `DogHealthIndicator`. This service should have the state `'up'` if every `Dog` object has the type `'goodboy'`. If that condition is not satisfied it then it should throw an error.
129+
Let's get started by creating a service that will represent our custom indicator. To get a basic understanding of how an indicator is structured, we will create an example `DogHealthIndicator`. This service should have the state `'up'` if every `Dog` object has the type `'goodboy'`. If that condition is not satisfied then it should throw an error.
130130

131131
```typescript
132132
@@filename(dog.health)
@@ -180,7 +180,7 @@ export class DogHealthIndicator extends HealthIndicator {
180180
}
181181
```
182182

183-
The next thing we need to do is registering the health indicator as a provider.
183+
The next thing we need to do is register the health indicator as a provider.
184184

185185
```typescript
186186
@@filename(app.module)

0 commit comments

Comments
 (0)