Fix hystrix stream servlet name.

This commit is contained in:
Spencer Gibb
2017-10-01 11:47:17 -04:00
parent 39b1c0fe0d
commit 94e8c5196c

View File

@@ -54,7 +54,7 @@ class HystrixManagementContextConfiguration {
}
@Bean
public ServletRegistrationBean<HystrixMetricsStreamServlet> jolokiaServlet() {
public ServletRegistrationBean<HystrixMetricsStreamServlet> hystrixMetricsStreamServlet() {
String path = this.managementServletContext.getContextPath()
+ this.properties.getPath();
String urlMapping = (path.endsWith("/") ? path + "*" : path + "/*");