Skip to content

Commit 876708a

Browse files
committed
first
Signed-off-by: wind57 <[email protected]>
1 parent ac7c32f commit 876708a

File tree

4 files changed

+631
-368
lines changed

4 files changed

+631
-368
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ SharedIndexInformer<V1Service> servicesSharedIndexInformer(SharedInformerFactory
113113
SharedIndexInformer<V1Endpoints> endpointsSharedIndexInformer(SharedInformerFactory sharedInformerFactory,
114114
ApiClient apiClient, String kubernetesClientNamespace) {
115115

116-
GenericKubernetesApi<V1Endpoints, V1EndpointsList> servicesApi = new GenericKubernetesApi<>(V1Endpoints.class,
116+
GenericKubernetesApi<V1Endpoints, V1EndpointsList> endpointsApi = new GenericKubernetesApi<>(V1Endpoints.class,
117117
V1EndpointsList.class, "", "v1", "endpoints", apiClient);
118118

119-
return sharedInformerFactory.sharedIndexInformerFor(servicesApi, V1Endpoints.class, 0L,
119+
return sharedInformerFactory.sharedIndexInformerFor(endpointsApi, V1Endpoints.class, 0L,
120120
kubernetesClientNamespace);
121121
}
122122

0 commit comments

Comments
 (0)