diff --git a/src/utils/OpenSearchMetricsQuery.groovy b/src/utils/OpenSearchMetricsQuery.groovy index dde4bc54..9ee6172c 100644 --- a/src/utils/OpenSearchMetricsQuery.groovy +++ b/src/utils/OpenSearchMetricsQuery.groovy @@ -9,7 +9,7 @@ package utils -import groovy.json.JsonSlurper +import groovy.json.JsonSlurperClassic class OpenSearchMetricsQuery { String metricsUrl @@ -37,6 +37,6 @@ class OpenSearchMetricsQuery { """, returnStdout: true ).trim() - return new JsonSlurper().parseText(response) + return new JsonSlurperClassic().parseText(response) } }