Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Jun 19, 2023
1 parent 93bae3f commit 431af67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/
import type { FieldMap } from '@kbn/alerts-as-data-utils';
import { IIndexPatternString } from './utils/create_datastream';
import type { IIndexPatternString } from './utils/create_datastream';

export const ilmPolicy = {
_meta: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
totalFieldsLimit,
mappingComponentName,
ilmPolicyName,
ilmPolicy
ilmPolicy,
} from './configurations';
import { createDataStream } from './utils/create_datastream';

Expand Down Expand Up @@ -96,10 +96,8 @@ export class RiskEngineDataClient {
},
} as ClusterPutComponentTemplateRequest,
totalFieldsLimit,
})
])


}),
]);

await createOrUpdateIndexTemplate({
logger: this.options.logger,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ export const createDataStream = async ({
}));

logger.debug(
`Found ${dataStreams.length} concrete indices for ${
indexPatterns.alias
} - ${JSON.stringify(dataStreams)}`
`Found ${dataStreams.length} concrete indices for ${indexPatterns.alias} - ${JSON.stringify(
dataStreams
)}`
);
} catch (error) {
// 404 is expected if no ds have been created
Expand Down

0 comments on commit 431af67

Please sign in to comment.