Fix hystrix stream servlet name.

parent 39b1c0fe
...@@ -54,7 +54,7 @@ class HystrixManagementContextConfiguration { ...@@ -54,7 +54,7 @@ class HystrixManagementContextConfiguration {
} }
@Bean @Bean
public ServletRegistrationBean<HystrixMetricsStreamServlet> jolokiaServlet() { public ServletRegistrationBean<HystrixMetricsStreamServlet> hystrixMetricsStreamServlet() {
String path = this.managementServletContext.getContextPath() String path = this.managementServletContext.getContextPath()
+ this.properties.getPath(); + this.properties.getPath();
String urlMapping = (path.endsWith("/") ? path + "*" : path + "/*"); String urlMapping = (path.endsWith("/") ? path + "*" : path + "/*");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment