From a74d02598b7b0229db540cb08cb89a33ed0c99e0 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Mon, 7 Oct 2024 12:14:34 -0700 Subject: [PATCH] fix Signed-off-by: Sayali Gaikawad --- src/utils/OpenSearchMetricsQuery.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/OpenSearchMetricsQuery.groovy b/src/utils/OpenSearchMetricsQuery.groovy index 9ee6172c..dde4bc54 100644 --- a/src/utils/OpenSearchMetricsQuery.groovy +++ b/src/utils/OpenSearchMetricsQuery.groovy @@ -9,7 +9,7 @@ package utils -import groovy.json.JsonSlurperClassic +import groovy.json.JsonSlurper class OpenSearchMetricsQuery { String metricsUrl @@ -37,6 +37,6 @@ class OpenSearchMetricsQuery { """, returnStdout: true ).trim() - return new JsonSlurperClassic().parseText(response) + return new JsonSlurper().parseText(response) } }