Remove unused private method
This commit is contained in:
parent
0043efa164
commit
fff8006e51
|
@ -3,8 +3,6 @@ package datadog.trace.instrumentation.springwebflux.client;
|
||||||
import static datadog.trace.instrumentation.springwebflux.client.SpringWebfluxHttpClientDecorator.DECORATE;
|
import static datadog.trace.instrumentation.springwebflux.client.SpringWebfluxHttpClientDecorator.DECORATE;
|
||||||
|
|
||||||
import io.opentracing.Span;
|
import io.opentracing.Span;
|
||||||
import java.net.InetAddress;
|
|
||||||
import java.net.UnknownHostException;
|
|
||||||
import org.reactivestreams.Subscription;
|
import org.reactivestreams.Subscription;
|
||||||
import org.springframework.web.reactive.function.client.ClientRequest;
|
import org.springframework.web.reactive.function.client.ClientRequest;
|
||||||
import org.springframework.web.reactive.function.client.ClientResponse;
|
import org.springframework.web.reactive.function.client.ClientResponse;
|
||||||
|
@ -50,14 +48,6 @@ public class TracingClientResponseSubscriber implements CoreSubscriber<ClientRes
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private InetAddress remoteAddress() {
|
|
||||||
try {
|
|
||||||
return InetAddress.getByName(clientRequest.url().getHost());
|
|
||||||
} catch (final UnknownHostException e) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNext(final ClientResponse clientResponse) {
|
public void onNext(final ClientResponse clientResponse) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue