Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Oct 7, 2024
1 parent ef4a7f0 commit a74d025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/OpenSearchMetricsQuery.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

package utils

import groovy.json.JsonSlurperClassic
import groovy.json.JsonSlurper

class OpenSearchMetricsQuery {
String metricsUrl
Expand Down Expand Up @@ -37,6 +37,6 @@ class OpenSearchMetricsQuery {
""",
returnStdout: true
).trim()
return new JsonSlurperClassic().parseText(response)
return new JsonSlurper().parseText(response)
}
}

0 comments on commit a74d025

Please sign in to comment.