From cce26dd2421c310ff5fd776f07e749d3cceaa765 Mon Sep 17 00:00:00 2001 From: Surya Sashank Nistala Date: Wed, 21 Feb 2024 22:18:52 -0800 Subject: [PATCH] fix ktlint Signed-off-by: Surya Sashank Nistala --- .../org/opensearch/alerting/DocumentLevelMonitorRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt b/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt index a1ffc44e4..b23e81355 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt @@ -235,7 +235,7 @@ class DocumentLevelMonitorRunner : MonitorRunner() { } val fieldsToBeQueried = mutableSetOf() - if (monitorCtx.fetchOnlyQueryFieldNames) { + if (monitorCtx.fetchOnlyQueryFieldNames) { for (it in queries) { if (it.queryFieldNames.isEmpty()) { fieldsToBeQueried.clear()