mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Merge pull request #8224 from elastic/jasper/backport/8190/5.x
[backport] PR #8190 to 5.x - removes the pipeline delete logic from index delete
This commit is contained in:
commit
82321e1342
1 changed files with 1 additions and 6 deletions
|
@ -17,12 +17,7 @@ export function registerDelete(server) {
|
|||
|
||||
Promise.all([
|
||||
callWithRequest(req, 'delete', deletePatternParams),
|
||||
callWithRequest(req, 'indices.deleteTemplate', {name: patternToIngest(req.params.id), ignore: [404]}),
|
||||
callWithRequest(req, 'transport.request', {
|
||||
path: `_ingest/pipeline/${patternToIngest(req.params.id)}`,
|
||||
method: 'DELETE',
|
||||
ignore: [404]
|
||||
})
|
||||
callWithRequest(req, 'indices.deleteTemplate', {name: patternToIngest(req.params.id), ignore: [404]})
|
||||
])
|
||||
.then(
|
||||
function (pattern) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue