Skip to content

Commit

Permalink
Namespace filter for service discovery (issue spring-cloud#1000).
Browse files Browse the repository at this point in the history
  • Loading branch information
mbialkowski1 committed Oct 16, 2022
1 parent 0c12cc3 commit 393e888
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -318,7 +318,6 @@ public void getServicesShouldReturnServicesInNamespaces() {


final KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties();
//properties.setAllNamespaces(true);
properties.setNamespaces(List.of(nameSpace1, nameSpace2));
final DiscoveryClient discoveryClient = new KubernetesDiscoveryClient(mockClient, properties,
KubernetesClient::services, new ServicePortSecureResolver(properties));
Expand Down

0 comments on commit 393e888

Please sign in to comment.