add info about enabling annotation (#144)
This commit is contained in:
committed by
Spencer Gibb
parent
21b53e28ee
commit
163d2fd0d8
@@ -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