formatting, remove unused log.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package org.springframework.cloud.kubernetes.discovery;
|
||||
|
||||
import io.fabric8.kubernetes.client.KubernetesClient;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.cloud.client.discovery.DiscoveryClient;
|
||||
import org.springframework.cloud.kubernetes.registry.KubernetesRegistration;
|
||||
import org.springframework.cloud.kubernetes.registry.KubernetesServiceRegistry;
|
||||
@@ -13,13 +11,10 @@ import org.springframework.context.annotation.Primary;
|
||||
@Configuration
|
||||
public class KubernetesDiscoveryClientAutoConfiguration {
|
||||
|
||||
private static final Log log = LogFactory.getLog(KubernetesDiscoveryClientAutoConfiguration.class);
|
||||
|
||||
@Bean
|
||||
public DiscoveryClient discoveryClient(KubernetesClient client,
|
||||
KubernetesDiscoveryProperties properties) {
|
||||
return new KubernetesDiscoveryClient(client,
|
||||
properties);
|
||||
return new KubernetesDiscoveryClient(client, properties);
|
||||
}
|
||||
|
||||
@Bean
|
||||
@@ -30,8 +25,7 @@ public class KubernetesDiscoveryClientAutoConfiguration {
|
||||
@Bean
|
||||
public KubernetesRegistration getRegistration(KubernetesClient client,
|
||||
KubernetesDiscoveryProperties properties) {
|
||||
return new KubernetesRegistration(client,
|
||||
properties);
|
||||
return new KubernetesRegistration(client, properties);
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user