Commit cbcfd9de authored by Phillip Webb's avatar Phillip Webb

Merge branch '2.1.x'

parents ee130cfb db26d9dc
......@@ -132,7 +132,7 @@ public final class EndpointRequest {
protected boolean ignoreApplicationContext(WebApplicationContext applicationContext) {
ManagementPortType type = ManagementPortType.get(applicationContext.getEnvironment());
return type == ManagementPortType.DIFFERENT
&& WebServerApplicationContext.hasServerNamespace(applicationContext, "management");
&& !WebServerApplicationContext.hasServerNamespace(applicationContext, "management");
}
@Override
......
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