chore: remove unused feature flags: communityTemplates, backendExample, frontendExample (#21200)

pull/20292/head^2
Bucky Schwarz 2021-04-13 14:41:53 -07:00 committed by GitHub
parent 7ce8e3b285
commit a3ddc655b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 71 deletions

View File

@ -637,7 +637,7 @@ jobs:
- yarn-deps-lock-{{ checksum "ui/yarn.lock" }}
- run: sudo apt-get update && sudo apt-get install netcat-openbsd
- run:
command: ./bin/linux/influxd --store=memory --e2e-testing=true --feature-flags=communityTemplates=true
command: ./bin/linux/influxd --store=memory --e2e-testing=true
background: true
- run: make e2e
- store_test_results:

View File

@ -21,28 +21,6 @@
contact: Bucky, Monitoring Team
lifetime: permanent
- name: Backend Example
description: A permanent backend example boolean flag
key: backendExample
default: false
contact: Gavin Cabbage
lifetime: permanent
- name: Community Templates
description: Replace current template uploading functionality with community driven templates
key: communityTemplates
default: true
expose: true
contact: Bucky
lifetime: permanent
- name: Frontend Example
description: A temporary frontend example integer flag
key: frontendExample
default: 42
contact: Gavin Cabbage
expose: true
- name: Group Window Aggregate Transpose
description: Enables the GroupWindowAggregateTransposeRule for all enabled window aggregates
key: groupWindowAggregateTranspose

View File

@ -16,48 +16,6 @@ func AppMetrics() BoolFlag {
return appMetrics
}
var backendExample = MakeBoolFlag(
"Backend Example",
"backendExample",
"Gavin Cabbage",
false,
Permanent,
false,
)
// BackendExample - A permanent backend example boolean flag
func BackendExample() BoolFlag {
return backendExample
}
var communityTemplates = MakeBoolFlag(
"Community Templates",
"communityTemplates",
"Bucky",
true,
Permanent,
true,
)
// CommunityTemplates - Replace current template uploading functionality with community driven templates
func CommunityTemplates() BoolFlag {
return communityTemplates
}
var frontendExample = MakeIntFlag(
"Frontend Example",
"frontendExample",
"Gavin Cabbage",
42,
Temporary,
true,
)
// FrontendExample - A temporary frontend example integer flag
func FrontendExample() IntFlag {
return frontendExample
}
var groupWindowAggregateTranspose = MakeBoolFlag(
"Group Window Aggregate Transpose",
"groupWindowAggregateTranspose",
@ -312,9 +270,6 @@ func TypeAheadDropdownsForVariables() BoolFlag {
var all = []Flag{
appMetrics,
backendExample,
communityTemplates,
frontendExample,
groupWindowAggregateTranspose,
newLabels,
memoryOptimizedFill,
@ -337,9 +292,6 @@ var all = []Flag{
var byKey = map[string]Flag{
"appMetrics": appMetrics,
"backendExample": backendExample,
"communityTemplates": communityTemplates,
"frontendExample": frontendExample,
"groupWindowAggregateTranspose": groupWindowAggregateTranspose,
"newLabels": newLabels,
"memoryOptimizedFill": memoryOptimizedFill,