Skip to content

Commit

Permalink
Todo task
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
  • Loading branch information
Arpit-Bandejiya committed May 22, 2023
1 parent 085a2ad commit 13e7dbc
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ export const PITEdit = (
console.log(attributes);
console.log("This is not saved object");
// TODO:: Need to call the create PIT ID here.
await createPit(
['opensearch_dashboards_sample_data_ecommerce'],
'opensearch_dashboards_sample_data_ecommerce', indexPatterns, dataSource, data,
http, keepAlive, makedashboardschecked, pitName, savedObjects, deletepitchecked)
// TODO:: Add indices and data source in the PIT object and call createPit
// await createPit(
// ['opensearch_dashboards_sample_data_ecommerce'],
// 'opensearch_dashboards_sample_data_ecommerce', indexPatterns, dataSource, data,
// http, keepAlive, makedashboardschecked, pitName, savedObjects, deletepitchecked)
props.history.push('/');
}

Expand Down

0 comments on commit 13e7dbc

Please sign in to comment.