Skip to content

Commit b5975ea

Browse files
committed
fix formatting
1 parent 211bd43 commit b5975ea

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

docs/en/actuator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ You can turn of the service listing (for both actuator and grpc) using `grpc.ser
183183
184184
By default, the health endpoint will use the standard gRPC implementation for health, which does not integrate with Spring Boot Actuator.
185185
186-
The server provides an optional integration with Actuator health information using the [gRPC Health API](https://grpc.io/docs/guides/health-checking/).
186+
The server provides an optional integration with Actuator health information using the [gRPC Health API](https://grpc.io/docs/guides/health-checking/).
187187
188188
This integration enables the server to respond to gRPC health checks based on the `HealthEndpoint` from Actuator, which is the same used for the web version.
189189
@@ -194,7 +194,7 @@ grpc.server.health-service-type=ACTUATOR
194194
````
195195
196196
The integration allows you to check the health status for the whole service or specific health indicators, where the `service` is the name of the healthindicator.
197-
`Watch` is not supported because actuator is pull-based and does not automatically tries to determine the status of the service to notify clients.
197+
`Watch` is not supported because actuator is pull-based and does not automatically tries to determine the status of the service to notify clients.
198198

199199

200200
## Opt-Out

grpc-server-spring-boot-starter/src/test/java/net/devh/boot/grpc/server/autoconfigure/GrpcHealthServiceDefaultAutoConfigurationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
@ImportAutoConfiguration({
3737
GrpcServerAutoConfiguration.class,
3838
GrpcServerFactoryAutoConfiguration.class,
39-
GrpcHealthServiceAutoConfiguration.class
40-
})
39+
GrpcHealthServiceAutoConfiguration.class})
4140
@DirtiesContext
4241
class GrpcHealthServiceDefaultAutoConfigurationTest {
4342

grpc-server-spring-boot-starter/src/test/java/net/devh/boot/grpc/server/autoconfigure/GrpcHealthServiceFalseAutoConfigurationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
@ImportAutoConfiguration({
3535
GrpcServerAutoConfiguration.class,
3636
GrpcServerFactoryAutoConfiguration.class,
37-
GrpcHealthServiceAutoConfiguration.class
38-
})
37+
GrpcHealthServiceAutoConfiguration.class})
3938
@DirtiesContext
4039
class GrpcHealthServiceFalseAutoConfigurationTest extends GrpcHealthServiceDefaultAutoConfigurationTest {
4140

grpc-server-spring-boot-starter/src/test/java/net/devh/boot/grpc/server/autoconfigure/GrpcHealthServiceTrueActuatorConfigurationTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,14 @@
4040

4141
@SpringBootTest(classes = {
4242
GrpcHealthServiceDefaultAutoConfigurationTest.TestConfig.class,
43-
GrpcHealthServiceTrueActuatorConfigurationTest.TestConfig.class
44-
},
43+
GrpcHealthServiceTrueActuatorConfigurationTest.TestConfig.class},
4544
properties = {
46-
"grpc.server.health-service-type=ACTUATOR",
47-
})
45+
"grpc.server.health-service-type=ACTUATOR"})
4846
@ImportAutoConfiguration({
4947
GrpcServerAutoConfiguration.class,
5048
GrpcServerFactoryAutoConfiguration.class,
5149
GrpcHealthServiceAutoConfiguration.class,
52-
HealthEndpointAutoConfiguration.class
53-
})
50+
HealthEndpointAutoConfiguration.class})
5451
@DirtiesContext
5552
class GrpcHealthServiceTrueActuatorConfigurationTest extends GrpcHealthServiceDefaultAutoConfigurationTest {
5653
@Configuration

grpc-server-spring-boot-starter/src/test/java/net/devh/boot/grpc/server/autoconfigure/GrpcHealthServiceTrueAutoConfigurationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
@ImportAutoConfiguration({
2626
GrpcServerAutoConfiguration.class,
2727
GrpcServerFactoryAutoConfiguration.class,
28-
GrpcHealthServiceAutoConfiguration.class
29-
})
28+
GrpcHealthServiceAutoConfiguration.class})
3029
@DirtiesContext
3130
class GrpcHealthServiceTrueAutoConfigurationTest extends GrpcHealthServiceDefaultAutoConfigurationTest {
3231
}

0 commit comments

Comments
 (0)