From 5979df0b0b01de6464d90def14722de492862c23 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Fri, 30 Jun 2023 10:19:31 +0800 Subject: [PATCH] Fix detekt Signed-off-by: Hailong Cui --- .../indexmanagement/indexstatemanagement/MetadataService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/MetadataService.kt b/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/MetadataService.kt index 55da58544..712378b47 100644 --- a/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/MetadataService.kt +++ b/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/MetadataService.kt @@ -40,7 +40,7 @@ import java.lang.Exception * MetadataService starts to move metadata from cluster state to config index */ @OpenForTesting -@Suppress("MagicNumber", "ReturnCount", "LongMethod", "ComplexMethod") +@Suppress("MagicNumber", "ReturnCount", "LongMethod", "ComplexMethod", "NestedBlockDepth") class MetadataService( private val client: Client, private val clusterService: ClusterService,