Merge branch '1.2.x'

This commit is contained in:
Andy Wilkinson 2015-03-19 17:17:05 +00:00
commit ebf68978e8

View File

@ -151,7 +151,7 @@ public class HealthMvcEndpoint implements MvcEndpoint, EnvironmentAware {
if (this.cached == null) {
return true;
}
return (accessTime - this.lastAccess) > this.delegate.getTimeToLive();
return (accessTime - this.lastAccess) >= this.delegate.getTimeToLive();
}
private boolean exposeHealthDetails(Principal principal) {