From 3f764b6dd181503c4fd1c5c9232532684fb20326 Mon Sep 17 00:00:00 2001 From: Surya Sashank Nistala Date: Wed, 30 Aug 2023 14:27:29 -0700 Subject: [PATCH] fix ktlint Signed-off-by: Surya Sashank Nistala --- .../commons/alerting/model/ChainedMonitorFindings.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/opensearch/commons/alerting/model/ChainedMonitorFindings.kt b/src/main/kotlin/org/opensearch/commons/alerting/model/ChainedMonitorFindings.kt index c5f2c472..92192eec 100644 --- a/src/main/kotlin/org/opensearch/commons/alerting/model/ChainedMonitorFindings.kt +++ b/src/main/kotlin/org/opensearch/commons/alerting/model/ChainedMonitorFindings.kt @@ -75,8 +75,8 @@ data class ChainedMonitorFindings( when (fieldName) { MONITOR_ID_FIELD -> { - if(!xcp.currentToken().equals(XContentParser.Token.VALUE_NULL)) - monitorId = xcp.text() + if (!xcp.currentToken().equals(XContentParser.Token.VALUE_NULL)) + monitorId = xcp.text() } MONITOR_IDS_FIELD -> {