Skip to content

Commit

Permalink
fix:add missing @OverRide annotation for ApolloEurekaClientConfig#get…
Browse files Browse the repository at this point in the history
…EurekaServerServiceUrls
  • Loading branch information
CalebZYC authored and nobodyiam committed Sep 20, 2022
1 parent e1636d4 commit 78aaca1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public ApolloEurekaClientConfig(final BizConfig bizConfig, final RefreshScope re
/**
* Assert only one zone: defaultZone, but multiple environments.
*/
@Override
public List<String> getEurekaServerServiceUrls(String myZone) {
List<String> urls = bizConfig.eurekaServiceUrls();
return CollectionUtils.isEmpty(urls) ? super.getEurekaServerServiceUrls(myZone) : urls;
Expand Down

0 comments on commit 78aaca1

Please sign in to comment.