Skip to content

Commit 2122fa4

Browse files
author
Lê Nam Khánh
authored
Fix typos in some files (#4511)
1 parent cb47274 commit 2122fa4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/modules/ROOT/pages/spring-cloud-netflix.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ Set `eureka.instance.preferIpAddress` to `true` and, when the application regist
591591
[TIP]
592592
====
593593
If the hostname cannot be determined by Java, then the IP address is sent to Eureka.
594-
Only explict way of setting the hostname is by setting `eureka.instance.hostname` property.
594+
Only explicit way of setting the hostname is by setting `eureka.instance.hostname` property.
595595
You can set your hostname at the run-time by using an environment variable -- for example, `eureka.instance.hostname=$\{HOST_NAME}`.
596596
====
597597

spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public class EurekaInstanceConfigBean implements CloudEurekaInstanceConfig, Envi
111111
* Setting this value too long could mean that the traffic could be routed to the
112112
* instance even though the instance is not alive. Setting this value too small could
113113
* mean, the instance may be taken out of traffic because of temporary network
114-
* glitches.This value to be set to atleast higher than the value specified in
114+
* glitches.This value to be set to at least higher than the value specified in
115115
* leaseRenewalIntervalInSeconds.
116116
*/
117117
private int leaseExpirationDurationInSeconds = 90;
@@ -169,7 +169,7 @@ public class EurekaInstanceConfigBean implements CloudEurekaInstanceConfig, Envi
169169
/**
170170
* Gets the relative status page URL path for this instance. The status page URL is
171171
* then constructed out of the hostName and the type of communication - secure or
172-
* unsecure as specified in securePort and nonSecurePort.
172+
* insecure as specified in securePort and nonSecurePort.
173173
*
174174
* It is normally used for informational purposes for other services to find about the
175175
* status of this instance. Users can provide a simple HTML indicating what is the
@@ -191,7 +191,7 @@ public class EurekaInstanceConfigBean implements CloudEurekaInstanceConfig, Envi
191191

192192
/**
193193
* Gets the relative home page URL Path for this instance. The home page URL is then
194-
* constructed out of the hostName and the type of communication - secure or unsecure.
194+
* constructed out of the hostName and the type of communication - secure or insecure.
195195
*
196196
* It is normally used for informational purposes for other services to use it as a
197197
* landing page.
@@ -213,7 +213,7 @@ public class EurekaInstanceConfigBean implements CloudEurekaInstanceConfig, Envi
213213
/**
214214
* Gets the relative health check URL path for this instance. The health check page
215215
* URL is then constructed out of the hostname and the type of communication - secure
216-
* or unsecure as specified in securePort and nonSecurePort.
216+
* or insecure as specified in securePort and nonSecurePort.
217217
*
218218
* It is normally used for making educated decisions based on the health of the
219219
* instance - for example, it can be used to determine whether to proceed deployments

0 commit comments

Comments
 (0)