From 1c3712b3440921984c2b7fa6d85ed7e8b4189566 Mon Sep 17 00:00:00 2001 From: Ben Cooke Date: Wed, 7 Apr 2021 12:12:53 -0400 Subject: [PATCH] adding new feature flag (#17308) Co-authored-by: Benjamin Cooke Co-authored-by: Mattermod --- model/feature_flags.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/feature_flags.go b/model/feature_flags.go index 148e16e4b2..f78524fbe5 100644 --- a/model/feature_flags.go +++ b/model/feature_flags.go @@ -36,6 +36,9 @@ type FeatureFlags struct { FilesSearch bool // Feature flag to control setting the TCP_NO_DELAY setting for websockets. WebSocketDelay bool + + // Control support for custom data retention policies + CustomDataRetentionEnabled bool } func (f *FeatureFlags) SetDefaults() { @@ -50,6 +53,7 @@ func (f *FeatureFlags) SetDefaults() { f.PluginIncidentManagement = "1.7.0" f.PluginApps = "" f.WebSocketDelay = false + f.CustomDataRetentionEnabled = false } func (f *FeatureFlags) Plugins() map[string]string {