Skip to content

Commit

Permalink
avoid nesting search inside search (#382) (#424)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>

Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 27ceb55)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and amsiglan authored Dec 21, 2022
1 parent c4996bb commit 339dc7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class ConfigureTriggers extends React.Component {
case SEARCH_TYPE.QUERY:
case SEARCH_TYPE.GRAPH:
const searchRequest = buildRequest(formikValues);
_.set(monitorToExecute, 'inputs[0].search', searchRequest);
_.set(monitorToExecute, 'inputs[0]', searchRequest);
break;
case SEARCH_TYPE.CLUSTER_METRICS:
const clusterMetricsRequest = buildClusterMetricsRequest(formikValues);
Expand Down

0 comments on commit 339dc7f

Please sign in to comment.