Fix after code review - add license notice, reformat imports, edit docs.
This commit is contained in:
@@ -255,7 +255,8 @@ To disable the description field of the `DiscoveryClientHealthIndicator`, set `s
|
||||
Otherwise, it can bubble up as the `description` of the rolled up `HealthIndicator`.
|
||||
|
||||
==== Ordering `DiscoveryClient` instances
|
||||
`DiscoveryClient` interface extends `Ordered` to let you define the order of the returned discovery clients, similar to
|
||||
`DiscoveryClient` interface extends `Ordered`. This is useful when using multiple discovery
|
||||
clients, as it allows you to define the order of the returned discovery clients, similar to
|
||||
how you can order the beans loaded by a Spring application. By default, the order of any `DiscoveryClient` is set to
|
||||
`0`. If you want to set a different order for your custom `DiscoveryClient` implementations, you just need to override
|
||||
the `getOrder()` method so that it returns the value that is suitable for your setup. Apart from this, you can use
|
||||
|
||||
Reference in New Issue
Block a user