diff --git a/src/main/kotlin/org/opensearch/commons/alerting/action/GetMonitorResponse.kt b/src/main/kotlin/org/opensearch/commons/alerting/action/GetMonitorResponse.kt index 031e3426..7bd274d4 100644 --- a/src/main/kotlin/org/opensearch/commons/alerting/action/GetMonitorResponse.kt +++ b/src/main/kotlin/org/opensearch/commons/alerting/action/GetMonitorResponse.kt @@ -67,7 +67,7 @@ class GetMonitorResponse : BaseResponse { } else { out.writeBoolean(false) } - out.writeList((associatedWorkflows?: emptyList()) as MutableList?) + out.writeList((associatedWorkflows ?: emptyList()) as MutableList?) } @Throws(IOException::class)