diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunnerService.kt b/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunnerService.kt index d2d8b7404..306af1443 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunnerService.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunnerService.kt @@ -328,7 +328,7 @@ object MonitorRunnerService : JobRunner, CoroutineScope, AbstractLifecycleCompon logger.debug("lock ${workflowLock.lockId} acquired") logger.debug( "PERF_DEBUG: executing workflow ${job.id} on node " + - monitorCtx.clusterService!!.state().nodes().localNode.id + monitorCtx.clusterService!!.state().nodes().localNode.id ) monitorCtx.client!!.suspendUntil { monitorCtx.client!!.execute(