Skip to content

Commit

Permalink
[Spaces] Remove forceSolutionVisibility yml setting (elastic#204726)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga authored Dec 18, 2024
1 parent 16643d3 commit cd3c5b6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
9 changes: 0 additions & 9 deletions x-pack/plugins/spaces/server/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);
Expand All @@ -35,9 +32,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);
Expand All @@ -47,9 +41,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);
Expand Down
7 changes: 0 additions & 7 deletions x-pack/plugins/spaces/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ export const ConfigSchema = schema.object({
defaultValue: true,
}),
}),
experimental: schema.maybe(
offeringBasedSchema({
traditional: schema.object({
forceSolutionVisibility: schema.boolean({ defaultValue: false }),
}),
})
),
});

export function createConfig$(context: PluginInitializerContext) {
Expand Down

0 comments on commit cd3c5b6

Please sign in to comment.