Skip to content

ES --> OS migration for Opensearch consolidation #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jan 9, 2025
Prev Previous commit
Fix odd bug (CORE-882)
  • Loading branch information
jmgasper committed Dec 20, 2024
commit c8f0df4b68ee45644a506fc45c211e4284ae1877
3 changes: 2 additions & 1 deletion src/services/ResourceService.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ async function getResourceCount (challengeId, roleId) {
const osClient = await helper.getOSClient()
let result
try {
result = await osClient.search(osQuery).body
result = await osClient.search(osQuery)
result = result.body
} catch (err) {
logger.error(`Get Resource Count Error ${JSON.stringify(err)}`)
throw err
Expand Down