Skip to content

Commit 78a91f7

Browse files
authored
Remove migrations.enableV2 in 8.0 (elastic#116023)
1 parent 776ad48 commit 78a91f7

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

src/core/server/saved_objects/saved_objects_config.test.ts

-44
This file was deleted.

src/core/server/saved_objects/saved_objects_config.ts

-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import { schema, TypeOf } from '@kbn/config-schema';
10-
import { ConfigDeprecationProvider } from '../config';
1110
import type { ServiceConfigDescriptor } from '../internal_types';
1211

1312
const migrationSchema = schema.object({
@@ -21,13 +20,10 @@ const migrationSchema = schema.object({
2120

2221
export type SavedObjectsMigrationConfigType = TypeOf<typeof migrationSchema>;
2322

24-
const migrationDeprecations: ConfigDeprecationProvider = ({ unused }) => [unused('enableV2')];
25-
2623
export const savedObjectsMigrationConfig: ServiceConfigDescriptor<SavedObjectsMigrationConfigType> =
2724
{
2825
path: 'migrations',
2926
schema: migrationSchema,
30-
deprecations: migrationDeprecations,
3127
};
3228

3329
const soSchema = schema.object({

0 commit comments

Comments
 (0)