Skip to content

Commit fe17494

Browse files
committed
removing new job defaults
1 parent 4e976d0 commit fe17494

File tree

3 files changed

+2
-80
lines changed

3 files changed

+2
-80
lines changed

x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/node_available_warning/node_available_warning.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import React, { Fragment, FC } from 'react';
99
import { EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui';
1010
import { FormattedMessage } from '@kbn/i18n/react';
1111
import { mlNodesAvailable, permissionToViewMlNodeCount } from '../../../../ml_nodes_check';
12-
import { cloudDeploymentId, isCloud } from '../../../../jobs/new_job_new/utils/new_job_defaults';
12+
import { cloudDeploymentId, isCloud } from '../../../../services/ml_server_info';
1313

1414
export const NodeAvailableWarning: FC = () => {
1515
if (mlNodesAvailable() === true || permissionToViewMlNodeCount() === false) {

x-pack/legacy/plugins/ml/public/jobs/new_job_new/utils/new_job_defaults.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/services/ml_api_service/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { AggFieldNamePair } from '../../../common/types/fields';
99
import { ExistingJobsAndGroups } from '../job_service';
1010
import { PrivilegesResponse } from '../../../common/types/privileges';
1111
import { MlSummaryJobs } from '../../../common/types/jobs';
12-
import { MlServerDefaults, MlServerLimits } from '../../jobs/new_job_new/utils/new_job_defaults';
12+
import { MlServerDefaults, MlServerLimits } from '../../services/ml_server_info';
1313
import { ES_AGGREGATION } from '../../../common/constants/aggregation_types';
1414
import { DataFrameAnalyticsStats } from '../../data_frame_analytics/pages/analytics_management/components/analytics_list/common';
1515

0 commit comments

Comments
 (0)