Skip to content

Commit

Permalink
fix error to disblay monitors with disable/enable state (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#869)

Signed-off-by: Riya Saxena <riysaxen@amazon.com>
  • Loading branch information
riysaxen-amzn authored Feb 7, 2024
1 parent fb82368 commit 2353c46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/services/MonitorService.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ export default class MonitorService {
query: {
bool: {
should,
minimum_should_match: state !== 'all' ? 1 : 0,
must: mustList,
},
},
Expand Down

0 comments on commit 2353c46

Please sign in to comment.