Skip to content

Commit

Permalink
Merge pull request #8391 from Bargs/revertTemplateDeletion
Browse files Browse the repository at this point in the history
Don't try to delete index template along with pattern
  • Loading branch information
Matt Bargar authored Sep 22, 2016
2 parents 2ebbd0e + daa5b3b commit 7463cd4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ uiModules.get('apps/management')
}
}

ingest.delete($scope.indexPattern.id)
.then($scope.indexPattern.destroy.bind($scope.indexPattern))
courier.indexPatterns.delete($scope.indexPattern)
.then(refreshKibanaIndex)
.then(function () {
$location.url('/management/data/index');
Expand Down

0 comments on commit 7463cd4

Please sign in to comment.