From a9940c735095298f3ac994572e81f4368bb18877 Mon Sep 17 00:00:00 2001 From: computerlyrik Date: Tue, 1 May 2018 13:27:52 +0200 Subject: [PATCH] add info about enabling annotation (#144) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b916dde9..2ccdfc20 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ This is something that you get for free just by adding the following 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