From aa696ba36d58a43fbf989d60d28866c3eb04cece Mon Sep 17 00:00:00 2001 From: Ben Cooke Date: Mon, 28 Mar 2022 18:30:05 -0400 Subject: [PATCH] [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 Co-authored-by: Benjamin Cooke --- model/feature_flags.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/feature_flags.go b/model/feature_flags.go index b8a3fa26d4..0469c85274 100644 --- a/model/feature_flags.go +++ b/model/feature_flags.go @@ -70,6 +70,8 @@ type FeatureFlags struct { // Enable GraphQL feature GraphQL bool + + InsightsEnabled bool } func (f *FeatureFlags) SetDefaults() { @@ -95,6 +97,7 @@ func (f *FeatureFlags) SetDefaults() { f.EnableInactivityCheckJob = true f.UseCaseOnboarding = true f.GraphQL = false + f.InsightsEnabled = false } func (f *FeatureFlags) Plugins() map[string]string { rFFVal := reflect.ValueOf(f).Elem()