Skip to content

Commit 13c935a

Browse files
committed
fix compilation
Signed-off-by: wind57 <[email protected]>
1 parent 91d619e commit 13c935a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

spring-cloud-kubernetes-discovery/src/main/java/org/springframework/cloud/kubernetes/discovery/KubernetesReactiveDiscoveryClient.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ public class KubernetesReactiveDiscoveryClient implements ReactiveDiscoveryClien
3434

3535
private final WebClient webClient;
3636

37-
@Deprecated(forRemoval = true)
38-
public KubernetesReactiveDiscoveryClient(WebClient.Builder webClientBuilder,
39-
KubernetesDiscoveryClientProperties properties) {
40-
if (!StringUtils.hasText(properties.getDiscoveryServerUrl())) {
41-
throw new DiscoveryServerUrlInvalidException();
42-
}
43-
webClient = webClientBuilder.baseUrl(properties.getDiscoveryServerUrl()).build();
44-
}
45-
4637
KubernetesReactiveDiscoveryClient(WebClient.Builder webClientBuilder, KubernetesDiscoveryProperties properties) {
4738
if (!StringUtils.hasText(properties.discoveryServerUrl())) {
4839
throw new DiscoveryServerUrlInvalidException();

0 commit comments

Comments
 (0)