Merge remote-tracking branch 'origin/3.0.x' into 3.1.x

This commit is contained in:
Olga MaciaszekSharma
2022-01-11 15:06:43 +01:00
2 changed files with 2 additions and 2 deletions
@@ -120,7 +120,7 @@ public class EurekaController {
model.put("datacenter", "N/A"); // FIXME:
PeerAwareInstanceRegistry registry = getRegistry();
model.put("registry", registry);
model.put("isBelowRenewThresold", registry.isBelowRenewThresold() == 1);
model.put("isBelowRenewThreshold", registry.isBelowRenewThresold() == 1);
DataCenterInfo info = applicationInfoManager.getInfo().getDataCenterInfo();
if (info.getName() == DataCenterInfo.Name.Amazon) {
AmazonInfo amazonInfo = (AmazonInfo) info;
@@ -52,7 +52,7 @@
</div>
</div>
<#if isBelowRenewThresold>
<#if isBelowRenewThreshold>
<#if !registry.selfPreservationModeEnabled>
<h4 id="uptime"><font size="+1" color="red"><b>RENEWALS ARE LESSER THAN THE THRESHOLD. THE SELF PRESERVATION MODE IS TURNED OFF. THIS MAY NOT PROTECT INSTANCE EXPIRY IN CASE OF NETWORK/OTHER PROBLEMS.</b></font></h4>
<#else>