Skip to content

Commit

Permalink
avoid nesting search inside search (#382)
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)
  • Loading branch information
amsiglan authored and github-actions[bot] committed Dec 2, 2022
1 parent 88949f6 commit 58f63aa
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 58f63aa

Please sign in to comment.