Skip to content

Commit

Permalink
Change LegacyEurekaClientProvider to use DiscoveryManager::getEurekaC…
Browse files Browse the repository at this point in the history
…lient method
  • Loading branch information
asibross committed Aug 5, 2021
1 parent 5d00bc5 commit da65491
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class LegacyEurekaClientProvider implements Provider<EurekaClient> {
@Override
public synchronized EurekaClient get() {
if (eurekaClient == null) {
eurekaClient = DiscoveryManager.getInstance().getDiscoveryClient();
eurekaClient = DiscoveryManager.getInstance().getEurekaClient();
}

return eurekaClient;
Expand Down

0 comments on commit da65491

Please sign in to comment.