Skip to content

Commit ca1aeab

Browse files
committed
Resolving issues with compile and ktlint
Signed-off-by: Kshitij Tandon <[email protected]>
1 parent 0f9f29e commit ca1aeab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ abstract class RollupRestTestCase : IndexManagementRestTestCase() {
276276
val res =
277277
client().makeRequest(
278278
"PUT", "_cluster/settings", emptyMap(),
279-
StringEntity(request, ContentType.APPLICATION_JSON),
279+
StringEntity(request, APPLICATION_JSON),
280280
)
281281
assertEquals("Request failed", RestStatus.OK, res.restStatus())
282282
}

src/test/kotlin/org/opensearch/indexmanagement/rollup/interceptor/RollupInterceptorIT.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ class RollupInterceptorIT : RollupRestTestCase() {
10431043
"max_passenger_count": { "max": { "field": "passenger_count" } }
10441044
}
10451045
}
1046-
""".trimIndent()
1046+
""".trimIndent()
10471047
// Search 1 non-rollup index and 1 rollup
10481048
updateSearchRawRollupClusterSetting(false)
10491049
val searchResult1 = client().makeRequest("POST", "/$sourceIndex2,$targetIndex2/_search", emptyMap(), StringEntity(req, ContentType.APPLICATION_JSON))

0 commit comments

Comments
 (0)