Skip to content

Commit 947b5f6

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 2aaaefd commit 947b5f6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/LogsIndexModeRollingUpgradeIT.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
package org.elasticsearch.upgrades;
1111

1212
import com.carrotsearch.randomizedtesting.annotations.Name;
13+
1314
import org.elasticsearch.client.Request;
1415
import org.elasticsearch.client.Response;
1516
import org.elasticsearch.client.RestClient;
@@ -162,8 +163,10 @@ private String bulkIndexRequestBody() {
162163
final StringBuilder sb = new StringBuilder();
163164
for (int i = 0; i < randomIntBetween(10, 20); i++) {
164165
sb.append(
165-
BULK_INDEX_REQUEST_TEMPLATE
166-
.replace("$timestamp", DateFormatter.forPattern(FormatNames.DATE_TIME.getName()).format(Instant.now()))
166+
BULK_INDEX_REQUEST_TEMPLATE.replace(
167+
"$timestamp",
168+
DateFormatter.forPattern(FormatNames.DATE_TIME.getName()).format(Instant.now())
169+
)
167170
.replace("$hostname", randomFrom("potato.host", "tomato.host"))
168171
.replace("$method", randomFrom("PUT", "POST", "GET"))
169172
.replace("$ip", NetworkAddress.format(randomIp(randomBoolean())))

0 commit comments

Comments
 (0)