Skip to content

Commit b8467af

Browse files
committed
Fix naming
1 parent c579c56 commit b8467af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/repository-s3/src/internalClusterTest/java/org/elasticsearch/repositories/s3/S3BlobStoreRepositoryMetricsTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,16 +355,16 @@ private long getLongHistogramValue(TestTelemetryPlugin plugin, String instrument
355355
private static class S3MetricErroneousHttpHandler implements DelegatingHttpHandler {
356356

357357
private final HttpHandler delegate;
358-
private final Queue<S3ErrorResponse> errorStatusQueue;
358+
private final Queue<S3ErrorResponse> errorResponseQueue;
359359

360-
S3MetricErroneousHttpHandler(HttpHandler delegate, Queue<S3ErrorResponse> errorStatusQueue) {
360+
S3MetricErroneousHttpHandler(HttpHandler delegate, Queue<S3ErrorResponse> errorResponseQueue) {
361361
this.delegate = delegate;
362-
this.errorStatusQueue = errorStatusQueue;
362+
this.errorResponseQueue = errorResponseQueue;
363363
}
364364

365365
@Override
366366
public void handle(HttpExchange exchange) throws IOException {
367-
final S3ErrorResponse errorResponse = errorStatusQueue.poll();
367+
final S3ErrorResponse errorResponse = errorResponseQueue.poll();
368368
if (errorResponse == null) {
369369
delegate.handle(exchange);
370370
} else if (errorResponse.status == INTERNAL_SERVER_ERROR) {

0 commit comments

Comments
 (0)