From 6eb0dbb35c13a39c7e8487b14d5d25fa81c03cb2 Mon Sep 17 00:00:00 2001 From: Kshitij Tandon Date: Tue, 29 Oct 2024 17:08:58 +0530 Subject: [PATCH] Resolving a compile error Signed-off-by: Kshitij Tandon --- .../org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt b/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt index 25d2c47ee..47a7c67fe 100644 --- a/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt +++ b/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt @@ -276,7 +276,7 @@ abstract class RollupRestTestCase : IndexManagementRestTestCase() { val res = client().makeRequest( "PUT", "_cluster/settings", emptyMap(), - StringEntity(request, ContentType.APPLICATION_JSON), + StringEntity(request, APPLICATION_JSON), ) assertEquals("Request failed", RestStatus.OK, res.restStatus()) }