Skip to content

Commit

Permalink
remove spacesAvailable flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamAparicio committed Jun 13, 2023
1 parent eca126c commit 33ad69e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion config/serverless.oblt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ xpack.apm.featureFlags.infrastructureTabAvailable: false
xpack.apm.featureFlags.infraUiAvailable: false
xpack.apm.featureFlags.migrationToFleetAvailable: false
xpack.apm.featureFlags.sourcemapApiAvailable: false
xpack.apm.featureFlags.spacesAvailable: false
xpack.apm.featureFlags.storageExplorerAvailable: false
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
'xpack.apm.featureFlags.infraUiAvailable (any)',
'xpack.apm.featureFlags.migrationToFleetAvailable (any)',
'xpack.apm.featureFlags.sourcemapApiAvailable (any)',
'xpack.apm.featureFlags.spacesAvailable (any)',
'xpack.apm.featureFlags.storageExplorerAvailable (any)',
'xpack.cases.files.allowedMimeTypes (array)',
'xpack.cases.files.maxSize (number)',
Expand Down
5 changes: 0 additions & 5 deletions x-pack/plugins/apm/common/apm_feature_flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export enum ApmFeatureFlagName {
InfraUiAvailable = 'infraUiAvailable',
MigrationToFleetAvailable = 'migrationToFleetAvailable',
SourcemapApiAvailable = 'sourcemapApiAvailable',
SpacesAvailable = 'spacesAvailable',
StorageExplorerAvailable = 'storageExplorerAvailable',
}

Expand Down Expand Up @@ -44,10 +43,6 @@ const apmFeatureFlagMap = {
default: true,
type: t.boolean,
},
[ApmFeatureFlagName.SpacesAvailable]: {
default: true,
type: t.boolean,
},
[ApmFeatureFlagName.StorageExplorerAvailable]: {
default: true,
type: t.boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const mockConfig: ConfigSchema = {
infraUiAvailable: true,
migrationToFleetAvailable: true,
sourcemapApiAvailable: true,
spacesAvailable: true,
storageExplorerAvailable: true,
},
};
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/apm/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export interface ConfigSchema {
infraUiAvailable: boolean;
migrationToFleetAvailable: boolean;
sourcemapApiAvailable: boolean;
spacesAvailable: boolean;
storageExplorerAvailable: boolean;
};
}
Expand Down
8 changes: 0 additions & 8 deletions x-pack/plugins/apm/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ const configSchema = schema.object({
}),
schema.oneOf([schema.literal(true)], { defaultValue: true })
),
spacesAvailable: schema.conditional(
schema.contextRef('serverless'),
true,
schema.boolean({
defaultValue: false,
}),
schema.oneOf([schema.literal(true)], { defaultValue: true })
),
storageExplorerAvailable: schema.conditional(
schema.contextRef('serverless'),
true,
Expand Down

0 comments on commit 33ad69e

Please sign in to comment.