Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
Signed-off-by: achmelo <[email protected]>
  • Loading branch information
achmelo committed Sep 7, 2023
1 parent 8f024c9 commit 1a7b12a
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
import org.springframework.context.annotation.Configuration;
import org.zowe.apiml.gateway.discovery.ApimlDiscoveryClient;

import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* This configuration override bean EurekaClient with custom ApimlDiscoveryClient. This bean offer additional method
Expand Down Expand Up @@ -87,7 +90,7 @@ public DiscoveryClientWrapper additionalDiscoverClientWrapper(ApplicationInfoMan
List<ApimlDiscoveryClient> listOfDiscoveryClientClient = new ArrayList<>();


if(centralRegistryUrls != null) {
if (centralRegistryUrls != null) {
for (String url : centralRegistryUrls) {

EurekaClientConfigBean configBean = new EurekaClientConfigBean();
Expand All @@ -108,7 +111,7 @@ public DiscoveryClientWrapper additionalDiscoverClientWrapper(ApplicationInfoMan
listOfDiscoveryClientClient.add(discoveryClientClient);
}
}
return new DiscoveryClientWrapper(listOfDiscoveryClientClient);
return new DiscoveryClientWrapper(listOfDiscoveryClientClient);
}

@Bean
Expand Down

0 comments on commit 1a7b12a

Please sign in to comment.