mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
cf32861d31
commit
8c16cb1619
5 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ module.directive('mlPostSaveOptions', function (Private, i18n) {
|
|||
|
||||
$scope.apply = function () {
|
||||
postSaveService.apply($scope.jobId, $scope.runInRealtime, $scope.createWatch, i18n)
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
$scope.$applyAsync();
|
||||
});
|
||||
|
|
|
@ -37,7 +37,7 @@ class PostSaveService {
|
|||
const datafeedId = mlJobService.getDatafeedId(jobId);
|
||||
|
||||
mlJobService.openJob(jobId)
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
mlJobService.startDatafeed(datafeedId, jobId, 0, undefined)
|
||||
.then(() => {
|
||||
|
@ -63,7 +63,7 @@ class PostSaveService {
|
|||
.then(() => {
|
||||
if (createWatch) {
|
||||
mlCreateWatchService.createNewWatch(jobId)
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
resolve();
|
||||
});
|
||||
|
|
|
@ -704,7 +704,7 @@ module
|
|||
// setting the status to STOPPING disables the stop button
|
||||
$scope.jobState = JOB_STATE.STOPPING;
|
||||
mlMultiMetricJobService.stopDatafeed($scope.formConfig)
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
$scope.$applyAsync();
|
||||
});
|
||||
|
|
|
@ -726,7 +726,7 @@ module
|
|||
// setting the status to STOPPING disables the stop button
|
||||
$scope.jobState = JOB_STATE.STOPPING;
|
||||
mlPopulationJobService.stopDatafeed($scope.formConfig)
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
$scope.$applyAsync();
|
||||
});
|
||||
|
|
|
@ -568,7 +568,7 @@ module
|
|||
// any jitters in the chart caused by previously loading the model mid job.
|
||||
$scope.chartData.model = [];
|
||||
reloadModelChart()
|
||||
.catch()
|
||||
.catch(() => {})
|
||||
.then(() => {
|
||||
$scope.chartData.percentComplete = 100;
|
||||
$scope.$broadcast('render-results');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue