Skip to content

Commit bfaedd9

Browse files
committed
Changes from node scripts/eslint_all_files --no-cache --fix
1 parent 72d18fa commit bfaedd9

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

  • x-pack/platform

x-pack/platform/plugins/shared/streams/server/lib/streams/component_templates/generate_layer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('generateLayer', () => {
259259
});
260260
});
261261

262-
it('should skip doc-only fields (no type) and not include them in mappings', () => {
262+
it('should skip doc-only fields (no type) and not include them in mappings', () => {
263263
const definitionWithDocOnlyField: Streams.WiredStream.Definition = {
264264
name: 'logs.test',
265265
description: '',

x-pack/platform/plugins/shared/streams/server/routes/internal/streams/schema/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ export const schemaFieldsConflictsRoute = createServerRoute({
371371
// Only check conflicts for fields that affect ES mappings
372372
// Skip system fields and doc-only overrides (no type)
373373
const userFieldDefinitions = params.body.field_definitions.filter(
374-
(field): field is typeof field & { type: string } =>
375-
!!field.type && field.type !== 'system'
374+
(field): field is typeof field & { type: string } => !!field.type && field.type !== 'system'
376375
);
377376

378377
if (userFieldDefinitions.length === 0) {

x-pack/platform/test/api_integration_deployment_agnostic/apis/streams/basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
989989
await disableStreams(apiClient);
990990
});
991991

992-
it('persists description-only overrides without freezing inherited mappings', async () => {
992+
it('persists description-only overrides without freezing inherited mappings', async () => {
993993
const parentStream = 'logs.otel.doconlyparent';
994994
const childStream = `${parentStream}.child`;
995995
const fieldName = 'attributes.abc';

0 commit comments

Comments
 (0)