fixes merge misses
@@ -76,7 +76,7 @@ class KubernetesDiscoveryClientTest extends Specification {
final properties = new KubernetesDiscoveryProperties()
DiscoveryClient discoveryClient = new KubernetesDiscoveryClient(
- mockClient, properties, {client -> client.services(), new DefaultIsServicePortSecureResolver(properties))
+ mockClient, properties, {client -> client.services()}, new DefaultIsServicePortSecureResolver(properties))
when:
List<ServiceInstance> instances = discoveryClient.getInstances("endpoint")
@@ -118,7 +118,7 @@ class KubernetesDiscoveryClientTest extends Specification {
final properties = new KubernetesDiscoveryProperties()
DiscoveryClient discoveryClient = new KubernetesDiscoveryClient(
- mockClient, properties, {client -> client.services(), new DefaultIsServicePortSecureResolver(properties))
+ mockClient, properties, {client -> client.services()}, new DefaultIsServicePortSecureResolver(properties))
when:
List<ServiceInstance> instances = discoveryClient.getInstances("endpoint")
