Merge branch '2.1.x'

pull/18077/head
Phillip Webb 5 years ago
commit cbcfd9de6f

@ -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

Loading…
Cancel
Save