Browse Source

Clarify status of @EnableEurekaClient

Fixes gh-194
pull/6/head
Dave Syer 10 years ago
parent
commit
00a951c1f1
  1. 5
      docs/src/main/asciidoc/spring-cloud-netflix.adoc

5
docs/src/main/asciidoc/spring-cloud-netflix.adoc

@ -41,7 +41,10 @@ public class Application { @@ -41,7 +41,10 @@ public class Application {
}
----
(i.e. utterly normal Spring Boot app). Configuration is required to locate the Eureka server. Example:
(i.e. utterly normal Spring Boot app). In this example we use
`@EnableEurekaClient` explicitly, but with only Eureka available you
could also use `@EnableDiscoveryClient`. Configuration is required to
locate the Eureka server. Example:
.application.yml

Loading…
Cancel
Save