add info about enabling annotation (#144)
This commit is contained in:
committed by
Ioannis Canellos
parent
b95bc427af
commit
a9940c7350
@@ -42,6 +42,8 @@ This is something that you get for free just by adding the following dependency
|
||||
</dependency>
|
||||
```
|
||||
|
||||
To enable loading of the `DiscoveryClient`, add `@EnableDiscoveryClient` to the according configuration or application class.
|
||||
|
||||
Then you can inject the client in your code simply by:
|
||||
|
||||
```java
|
||||
|
||||
Reference in New Issue
Block a user