Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit 521d1da

Browse files
committed
format
1 parent c14e696 commit 521d1da

File tree

1 file changed

+3
-2
lines changed
  • sofa-serverless-runtime/arklet-springboot-starter/src/main/java/com/alipay/sofa/serverless/arklet/springboot/starter/health

1 file changed

+3
-2
lines changed

sofa-serverless-runtime/arklet-springboot-starter/src/main/java/com/alipay/sofa/serverless/arklet/springboot/starter/health/HealthAutoConfiguration.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,14 @@ public MasterBizHealthIndicator masterBizHealthIndicator() {
6565

6666
@Override
6767
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
68-
WebEndpointProperties webEndpointProperties = applicationContext.getBean(WebEndpointProperties.class);
68+
WebEndpointProperties webEndpointProperties = applicationContext
69+
.getBean(WebEndpointProperties.class);
6970
WebEndpointProperties.Exposure exposure = webEndpointProperties.getExposure();
7071
Set<String> includePath = exposure.getInclude();
7172
includePath.add("*");
7273
webEndpointProperties.getExposure().setInclude(includePath);
7374
webEndpointProperties.setBasePath("/");
74-
75+
7576
this.context = applicationContext;
7677
}
7778
}

0 commit comments

Comments
 (0)