Skip to content

Commit

Permalink
avoid nesting search inside search
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan committed Dec 1, 2022
1 parent 6dbff48 commit 3f52ff7
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 3f52ff7

Please sign in to comment.