Skip to content

Commit

Permalink
[ML] Remove misc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Feb 14, 2021
1 parent ad32ea3 commit 9323382
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export function checkForAutoStartDatafeed() {
mlJobService.tempJobCloningObjects.datafeed = undefined;
mlJobService.tempJobCloningObjects.createdBy = undefined;

const hasDatafeed = isPopulatedObject(mlJobService.tempJobCloningObjects.datafeed);
const hasDatafeed = isPopulatedObject(datafeed);
const datafeedId = hasDatafeed ? datafeed.datafeed_id : '';
return {
id: job.job_id,
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/transform/common/api_schemas/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export const settingsSchema = schema.object({
docs_per_second: schema.maybe(schema.nullable(schema.number())),
});

// ['keyword', 'long', 'double', 'date', 'ip', 'boolean']
export const runtimeMappingsSchema = schema.maybe(
schema.recordOf(
schema.string(),
Expand Down

0 comments on commit 9323382

Please sign in to comment.