Skip to content

Commit aef7721

Browse files
committed
Feedback
1 parent 6921839 commit aef7721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/repository-gcs/src/test/java/org/elasticsearch/repositories/gcs/GoogleCloudStorageBlobStoreRepositoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public void handle(final HttpExchange exchange) throws IOException {
268268
int deletions = 0;
269269
for (Iterator<Map.Entry<String, BytesReference>> iterator = blobs.entrySet().iterator(); iterator.hasNext(); ) {
270270
Map.Entry<String, BytesReference> blob = iterator.next();
271-
if (blob.getKey().startsWith(exchange.getRequestURI().toString())) {
271+
if (blob.getKey().equals(exchange.getRequestURI().toString())) {
272272
iterator.remove();
273273
deletions++;
274274
}

0 commit comments

Comments
 (0)