[MM-42627] Feature flag for insights (#19839)
* tools updates * Revert "tools updates" This reverts commit 6293297b55803c5a263e200ebd80192899666ae9. * feature flag for insights Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local> Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Этот коммит содержится в:
@@ -70,6 +70,8 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
// Enable GraphQL feature
|
// Enable GraphQL feature
|
||||||
GraphQL bool
|
GraphQL bool
|
||||||
|
|
||||||
|
InsightsEnabled bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -95,6 +97,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.EnableInactivityCheckJob = true
|
f.EnableInactivityCheckJob = true
|
||||||
f.UseCaseOnboarding = true
|
f.UseCaseOnboarding = true
|
||||||
f.GraphQL = false
|
f.GraphQL = false
|
||||||
|
f.InsightsEnabled = false
|
||||||
}
|
}
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
rFFVal := reflect.ValueOf(f).Elem()
|
rFFVal := reflect.ValueOf(f).Elem()
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user